.claude/skills/conduct/SKILL.md
--- name: conduct description: Multi-model orchestration with lane-based routing. Classifies tasks, routes to appropriate lanes (premium/balanced/cheap/research), and loops until the goal is met. Use when the task is non-trivial and you want it to run until done. Trigger keywords: orchestrate, PMO, keep working, until done, multi-model, conduct. --- # /conduct — Lane-Based Orchestrator Classifies tasks by type, routes to lanes, dispatches to workers, reviews with Claude. Loops until done. ##
npx skillsauth add khamel83/oneshot .claude/skills/conductInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Classifies tasks by type, routes to lanes, dispatches to workers, reviews with Claude. Loops until done.
/conduct
/conduct <idea or goal>
Detect providers and config
command -v codex >/dev/null 2>&1 && echo "codex: yes" || echo "codex: no"
command -v gemini >/dev/null 2>&1 && echo "gemini: yes" || echo "gemini: no"
python -c "from core.search.argus_client import is_available; print('argus:', is_available())" 2>/dev/null || echo "argus: no"
If config/lanes.yaml and config/workers.yaml exist, read them for routing.
If they don't exist, skip silently — execute all tasks inline with Claude.
Never mention the absence of routing config to the user.
Ask 5 required questions using AskUserQuestion — do NOT proceed until answered:
Initialize 1shot/ in the project root (create if missing):
1shot/PROJECT.md1shot/STATE.md: phase = "intake → plan"1shot/skills/ directoryShow PROJECT.md to user and confirm before proceeding.
1shot/explore.json:
{
"goal": "[from PROJECT.md]",
"candidate_files": ["list of relevant files"],
"commands_to_run": ["test commands", "lint commands"],
"constraints": ["architectural constraints discovered"],
"unknowns": ["open questions to resolve"],
"risk_assessment": {"level": "low|medium|high", "reasoning": "..."},
"existing_patterns": ["patterns found in relevant files"]
}
This artifact is visible, editable, and reusable. Update it as exploration progresses.cat ~/github/docs-cache/docs/cache/.index.md/doc <name> <url> before assigning build tasks1shot/ROADMAP.md — phases and success criteriatemplates/TASK_SPEC.md and write it to 1shot/TASK_SPEC.md. Use 1shot/explore.json to populate the Files Involved section of TASK_SPEC.1shot/plan.json from the TASK_SPEC:
Use the plan schema from core/plan_schema.py:
from core.plan_schema import Plan, PlanStep, VerifyStep, StepAction, VerifyType
from core.task_schema import RiskLevel
plan = Plan(
objective="[from TASK_SPEC Goal]",
risk_level=RiskLevel.medium,
steps=[
PlanStep(id="1", action=StepAction.explore, description="...", files=[...]),
PlanStep(id="2", action=StepAction.implement, description="...", files=[...], depends_on=["1"]),
],
verification=[
VerifyStep(verify_type=VerifyType.test, command="pytest tests/"),
],
rollback="git restore [files]",
)
Write to 1shot/plan.json. This file is the executable plan that drives the build loop.docs/instructions/task-classes.md:
python -m core.router.resolve --class <task_class>
This returns: lane, workers, reviewer, search_backend, fallback_laneRepeat until no unblocked tasks remain:
Pick next unblocked task (TaskList → lowest ID pending)
TaskUpdate → in_progress
Select methodology (automatic — based on task description):
/debug protocol:
investigate → analyze → hypothesize → fix. Phases 1-3 are read-only./tdd protocol: RED-GREEN-REFACTOR.
No production code without a failing test shown first.Classify and dispatch:
python -m core.router.resolve --class <class>~/.claude/skills/_shared/dispatch.md):
python3 -m core.dispatch.run --prompts-file batch.json1shot/dispatch/core.dispatch.run) spawns lightweight CLI processes.
The Agent tool spawns full Claude Code sessions — only use Agent tool for
complex multi-step reasoning that the dispatch runner can't handle.
For batch file processing, extraction, summarization → always use core.dispatch.run.Review: If task requires review, dispatch review to reviewer (see dispatch.md Step 7)
Scope check — Before verification, compare actual changes against plan:
# Get files actually changed
git diff --name-only
# Compare against planned files from TASK_SPEC (1shot/TASK_SPEC.md "Files Involved" section)
1shot/BLOCKERS.md with explanation, ask if the new files should be added to the planThis prevents the common pattern where a "small fix" grows to touch unrelated subsystems.
Verify: Run the Phase 3 verification checklist (see below) — all checks must pass before marking completed
TaskUpdate → completed (only after verification passes)
Update 1shot/STATE.md: increment loop count, log action
Circuit breaker: if same task failed 3x → log blocker → skip → continue
If 3 consecutive tasks hit circuit breaker → stop, surface to user.
No verification, no completion. Assertions don't count — show the output.
Every task must pass this checklist before it can be marked completed. No exceptions — "trivial," "just a doc edit," and "obviously correct" all get verified.
For each completed task, run this checklist. Each step requires showing actual command output. "I checked it" or "tests pass" without output = verification not done.
1shot/PROJECT.md or the
task description one by one. For each: state the criterion, then cite the evidence
(file changed, output shown, behavior confirmed). A criterion without evidence is unverified.git diff and confirm changed files match the plan scope.
Flag anything out of scope.If any check fails:
TaskUpdate back to pending — never mark as completed with failing checks1shot/BLOCKERS.md if it was not resolved in one retryTwo-stage adversarial review. Stage A must pass before Stage B runs.
Did we build what PROJECT.md asked for?
1shot/PROJECT.md — every acceptance criterion, scope constraint, and goalStage A pass → proceed to Stage B. Stage A fail → do not run Stage B.
Is the implementation well-built?
git diff $(git merge-base HEAD main)..HEAD — full diff since conduct startedunset OPENAI_API_KEY && codex exec --json --sandbox danger-full-access -o /tmp/conduct-challenge.json "Review this diff for code quality: (1) what could break in production, (2) what edge cases are unhandled, (3) are there any security concerns, (4) does it follow the repo's existing patterns. Diff: [content]"
Parse: jq 'select(.type=="item.completed") | .item.text' /tmp/conduct-challenge.json
If Codex unavailable: Claude performs code quality review inline.If any correction was given 2+ times during this session:
docs/instructions/learned/{date}-{topic}.mdCLAUDE.md or rulesConduct Complete
├─ Tasks: X/Y completed
├─ Lanes used: [list]
├─ Files changed: Z
├─ Commits: N
└─ Blockers: M (see 1shot/ISSUES.md)
See docs/instructions/task-classes.md for full classification guide.
See ~/.claude/skills/_shared/dispatch.md for the dispatch protocol (how to build prompts, run parallel workers, capture output, write manifests).
See ~/.claude/skills/_shared/providers.md for provider detection and commands.
Key rule: Route by task class, not provider name. Use lane policy from config. Claude thinks. Codex and Gemini execute.
| Ambiguity | Default | |-----------|---------| | Multiple implementations | Simplest one | | Naming | Follow existing pattern | | Lane selection | Use task class routing | | Stack | Follow CLAUDE.md defaults |
1shot/ filesdevelopment
Smart visual analysis for websites and images using Playwright screenshots and AI vision.
development
--- name: tdd description: Test-driven development with mandatory RED-GREEN-REFACTOR cycle. Enforces writing failing tests before production code. Use when implementing new features, fixing bugs with test coverage, or when the user wants TDD discipline. Trigger keywords: tdd, test first, test driven, red green refactor, add tests, coverage, write a test, failing test. --- # /tdd — Test-Driven Development RED-GREEN-REFACTOR cycle. No production code without a failing test shown first. ## Usage
tools
Quick iterations on existing projects. Load context, ask what's next, execute in burn-down mode.
tools
Manage encrypted secrets between the master vault and projects using SOPS/Age.