domains
ArcheFlow domain adapters (code, writing, research): terminology, metrics, review focus and context for non-code runs.
Skill by XORwell
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/xorwell-domains
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing, research
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/domains
What's inside
- Skill name
domains- Description
- ArcheFlow domain adapters (code, writing, research): terminology, metrics, review focus and context for non-code runs.
- License
- MIT
- Instructions
- 95 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Domain Adapter System Adapts the PDCA pipeline and archetype system to specific domains (writing, code, research) so events, metrics, reviews, and context use domain-appropriate terminology. ## Domain Registry Domain definitions live in `.archeflow/domains/<name>.yaml`. Each maps generic concepts to domain-specific equivalents. ### Concept Mapping | Generic Concept | Code | Writing | Research | |----------------|------|---------|----------| | implementation | code changes | draft/prose | draft/analysis | | tests | automated tests | consistency checks | citation verification | | files_changed | files changed | word count delta | section count | | test_coverage | test coverage % | voice drift score | source coverage | | code_review | code review | prose review | peer review | | build | build/compile | compile/export | compile (LaTeX/PDF) | | deploy | deploy | publish | submit/publish | | bug | bug | continuity error | unsupported claim | | feature | feature | scene/chapter | section | ### Metrics by Domain | Code | Writing | Research | |------|---------|----------| | files_changed | word_count | word_count | | lines_added/removed | voice_drift_score | citation_count | | tests_added | dialect_density | source_diversity | | tests_passing | scene_count | claim_count | | coverage_delta | dialogue_ratio | unsupported_claims | ### Review Focus by Domain | Reviewer | Code | Writing | Research | |----------|------|---------|----------| | Guardian | security, breaking changes, deps, error handling | plot coherence, character consistency, timeline, continuity | factual accuracy, citation validity, logic, methodology | | Sage | code quality, coverage, docs, patterns | voice consistency, prose quality, dialect authenticity | argument structure, clarity, tone, completeness | | Skeptic | design assumptions, scalability, edge cases | premise strength, motivation, ending satisfaction | (default) | | Trickster | malformed input, races, error paths, dep failures | reader confusion, pacing dead spots, disbelief breaks | (default) | ### Model Overrides Domains can override default model assignments: | Domain | Override | Rationale | |--------|----------|-----------| | Writing | maker: sonnet | Prose quality is the product | | Writing | custom reviewer: sonnet | Voice evaluation needs taste | | Research | maker: sonnet | Analysis quality matters | | Code | (none) | Defaults are calibrated for code | ### Context Injection by Domain Domains declare which extra files agents should read per phase. Context injection is additive (on top of standard ArcheFlow context). A domain file in `.archeflow/domains/` can come with the repository, so its context entries follow the lens rule: only plain relative paths inside the project (letters, digits, `.`, `_`, `-`, `/`; no leading `/` or `-`, no `..`, no `~`, `$`, backticks, globs or spaces). Skip any other entry with a warning, and read files with the file-reading tool, never through a shell command. | Phase | Code | Writing | |-------|------|---------| | always | README.md, config.yaml | voice profile, persona, characters | | plan | relevant source files, existing tests | series config, previous stories, brief | | do | Creator's proposal, test fixtures | scene outline, voice profile | | check | git diff, risk section | voice profile (Sage), outline (Guardian), characters | ## Domain Detection Auto-detects at `run.start`. Result stored in event stream. | Priority | Signal | Domain | |----------|--------|--------| | 1 | CLI `--domain <name>` | as specified | | 2 | Team preset `domain:` field | as specified | | 3 | Writing-domain config exists | writing | | 4 | `*.bib` or `references/` exists | research | | 5 | `package.json`, `Cargo.toml`, `pyproject.toml`, `go.mod`, `Makefile` | code | | 6 | No markers | code (default) | ## Adding a New Domain 1. Create `.archeflow/domains/<name>.yaml` with `name`, `concepts`, `metrics` (minimum required) 2. Optionally add `review_focus`, `context`, `model_overrides` 3. Missing sections fall back to `code` domain defaults 4. Test with `--domain <name> --dry-run` ## How Domains Affect Orchestration - **Reports** use domain-translated terms (e.g., "word count delta" instead of "files changed") - **Events** include domain-relevant metrics in `agent.complete` and `run.complete` payloads - **Reviewers** receive domain-specific focus checklists (archetype personality stays the same) - **Context injection** adds domain-declared files to each agent's prompt - **Model overrides** change which model an archetype uses (interacts with cost-tracking) - **One domain per run.** Multi-domain projects use separate runs.
From XORwell/archeflow, MIT.
More from XORwell/archeflow
- 0.565score
run
XORwell
Run one task through Plan -> Do -> Check -> Act with ArcheFlow's roles, on its own git branch.
SkillAFreshness: AClaude Code +9 - 0.565score
review
XORwell
Review existing changes (uncommitted work, a branch, or a commit range) with ArcheFlow's reviewer roles: Guardian by default, optionally Skeptic, Sage and…
SkillAFreshness: AClaude Code +9 - 0.561score
act-phase
XORwell
Act phase of an ArcheFlow run: consolidate findings, route them to Creator or Maker, decide merge / cycle back / stop, write act-feedback.md.
SkillAFreshness: AClaude Code +9 - 0.561score
git-integration
XORwell
How an ArcheFlow run uses git (run branch, Maker worktree, integrate, merge, rollback, cleanup): reference for archeflow-git.sh and its config.
SkillAFreshness: AClaude Code +9 - 0.561score
cost-tracking
XORwell
ArcheFlow cost tracking: per-agent and per-run token cost, budget enforcement, cheapest adequate model per role and domain.
SkillAFreshness: AClaude Code +9 - 0.561score
multi-project
XORwell
Multi-project ArcheFlow runs from a multi-run.yaml: dependency DAG across repositories, parallel sub-runs, shared budget.
SkillAFreshness: AClaude Code +9 - 0.561score
check-phase
XORwell
Reviewer protocol for Guardian, Skeptic, Sage and Trickster - finding table, evidence rules, reviewer inputs, evidence gate.
SkillAFreshness: AClaude Code +9 - 0.558score
progress
XORwell
Live progress file .archeflow/progress.md for ArcheFlow runs (status, budget, DAG), watchable from a second terminal.
SkillAFreshness: AClaude Code +9 - 0.558score
presence
XORwell
How ArcheFlow reports its activity to the user: short status lines, outcomes not mechanics.
SkillAFreshness: AClaude Code +9 - 0.558score
autonomous-mode
XORwell
Running ArcheFlow unattended (overnight, batches of tasks): self-organization, progress logging, safe stopping.
SkillAFreshness: AClaude Code +9 - 0.524score
replay
XORwell
Replay a recorded ArcheFlow run: decision timeline and weighted what-if over the reviewers' verdicts.
SkillBFreshness: BClaude Code +9 - 0.524score
memory
XORwell
Show or manage ArcheFlow's cross-run memory: lessons learned from past runs that are injected into agent prompts.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 3, 2026 (27 days ago)
- Last release
- Sep 24, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/XORwell/archeflow
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from XORwell
- 0.565score
run
XORwell
Run one task through Plan -> Do -> Check -> Act with ArcheFlow's roles, on its own git branch.
SkillAFreshness: AClaude Code +9 - 0.565score
review
XORwell
Review existing changes (uncommitted work, a branch, or a commit range) with ArcheFlow's reviewer roles: Guardian by default, optionally Skeptic, Sage and…
SkillAFreshness: AClaude Code +9 - 0.561score
multi-project
XORwell
Multi-project ArcheFlow runs from a multi-run.yaml: dependency DAG across repositories, parallel sub-runs, shared budget.
SkillAFreshness: AClaude Code +9 - 0.561score
git-integration
XORwell
How an ArcheFlow run uses git (run branch, Maker worktree, integrate, merge, rollback, cleanup): reference for archeflow-git.sh and its config.
SkillAFreshness: AClaude Code +9 - 0.561score
check-phase
XORwell
Reviewer protocol for Guardian, Skeptic, Sage and Trickster - finding table, evidence rules, reviewer inputs, evidence gate.
SkillAFreshness: AClaude Code +9 - 0.561score
cost-tracking
XORwell
ArcheFlow cost tracking: per-agent and per-run token cost, budget enforcement, cheapest adequate model per role and domain.
SkillAFreshness: AClaude Code +9
Cite this page
domains skill. Agent Mart. https://agentmart.dev/skills/xorwell-domains (last updated 2026-10-24)