/manual:work-jobsfrom manual
Work CADE manual-mode jobs through the cade-mcp job tools - start jobs on domains, list the queue, claim a named job or the next one, follow its packet stage by stage, submit, fix findings, release, skip or take over (admins), read one job's state, watch a job in the background while it waits for a person, and work unattended runs. Covers every job type (article, site profile, keyword discovery, FAQ, summary, feedtext) and names the skill for each. Use for "list my manual jobs", "what's waiting", "work the next job", "work 5 jobs", "drain the queue", "claim job {id}", "pick up job {id} after the reviewer's note", "take over job {id}", "where is job {id}", "release job {id}", "skip job {id}", "start a FAQ job on {domain}", "start keyword discovery on {domains}", "redo the site profile for {domain}", "set up unattended runs", and for any prompt that says "This is an unattended run".
Ships in manual. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A manual-mode job is a CADE task whose agent stages your agent writes instead of CADE's pipeline. CADE keeps the job, runs the checks and holds the review; you work it through cade-mcp. If any tool fails with "Pomerium identity", or cade-mcp's job tools are missing because it is waiting for a sign-in (the session lists it as needing authentication, or offers only its authenticate tool), tell the operator to sign in to cade-mcp again (/mcp in Claude Code, Settings → Connectors on claude.ai) and stop.
task_type | Stages you write | Skill | After your stages |
|---|---|---|---|
article | keyword, brief, outline, metadata, draft, then repair when the fact check rejects a rewrite | manual:article | CADE runs media and rewrite after draft, then finish and publish |
categorization (the site profile) | location, business_profile, categories, services, brand_voice, compliance | manual:site-profile | CADE assembles profile; a person always approves it |
keyword_discovery | peers, keywords | manual:keywords | CADE stores the topics as candidates |
faq | answers | manual:faq | CADE publishes the answer |
summary | summary | manual:summary | CADE stores it and sends it to seo-service |
feedtext | feedtext | manual:feedtext | CADE publishes the topical index |
crawl, css_analysis | none | none | CADE runs them; a CSS run that falls back to default styling waits for a person |
Your gated stages auto-approve by default when they pass their checks. A domain can switch that off, and then a person reviews each one.
jobs_start(task_type, domains, confirm_count, options) starts one job type on 1 to 100 domains. It is the only way to start a job on a manual domain: CADE answers the older routes (domain_job keywords, summary_generate) with 409 MANUAL_DOMAIN there.
Before you call it, show the operator the task type, the domains and their count, and get a yes. confirm_count repeats that count.
An article start on an automatic domain starts generation and spends the domain's quota.
task_type is one of article, crawl, categorization, css_analysis, faq, keyword_discovery. Summary and feedtext jobs open on their own: summaries when seo-service asks for one, feedtext when a work group's articles are stored.
options takes only the type's own keys:
article: platform, strategy, keyword;crawl: url, one page of the domain;categorization: analyze_css;faq: question_id, else the next unanswered question.A crawl, site profile or CSS start runs again on a domain that already had one.
It is refused when another operator is migrating one of the domains, naming them. Leave those domains out. Use force=true only when the operator says the hand-over is agreed.
Report one line per domain with its outcome:
outcome | Means |
|---|---|
created | job_id is the new job |
blocked | Created, but it waits until a person validates the site profile |
skipped | job_id is the job of that type already open |
refused | reason and detail say why; nothing was created |
jobs_list() lists the waiting jobs, the ones you may claim.jobs_list(mine=true) lists your leases, and jobs_list(state=null) lists jobs in every state.task_type, domain or stage.job_get(job_id) reads one job as CADE has it now: its job_status, open stage, lease, auto_cancel_at, and each stage's status, approval and last findings, without outputs.Show one table in the order CADE returns, which is the order job_claim_next takes jobs: pinned domains first, then site profile jobs, then the oldest due. Finished jobs come last, newest first. Columns: id | type | domain | stage | job_status | scheduled_at | lease. Mark a pinned domain (pinned) and an overdue job (overdue, more than a day past due).
job_claim(job_id) for a named job, or job_claim_next() for the next one you may claim in CADE's order (pinned domains, then site profile jobs, then the oldest due). "No job is waiting" means nothing is left: say so and stop. A lease lasts 60 minutes, and claiming the same job again extends it. CADE refuses a claim with a 409; this list is for a claim made before you hold a job, and after a watcher's wake its table (see "Waiting for the person") says what to do instead:
claimed: another seat holds the job until the time CADE names. Take another job. Only when the operator asks you to take this job over, call job_claim(job_id, take_over=true). It works on a waiting job only and is for admins: cade-mcp refuses it from anyone else and sends nothing. CADE moves the lease to you for 60 minutes, keeps the findings and rounds, and refuses the other seat's next submission.not_waiting: the job is in review, running on CADE's side, or finished. Take another job.site_profile_not_validated: a person must validate the domain's site profile first. Every job but the site profile waits for that. Take another job and name this one in the report.notes: a reviewer's instructions, newest first. They outrank everything else.findings and output: the last round, when you resubmit.stage: its key, its checks and its output_schema.approved: every earlier stage's output. Build on it and never contradict it.context: the site's facts and rules, and what this stage works from.stage.output_schema exactly; an unknown field is refused. Follow the skill the table above names for the job type. Then call job_submit(job_id, stage.key, output).status:status | Do |
|---|---|
fixing | Fix every finding. Each one names its check, its field and the fix. Then submit the whole output again |
auto_approved | If next_packet is set, go back to step 2 with it. If it is null, CADE runs the next stage itself: watch the job (see "Waiting for the person"), or where you can't, the job is done for you |
in_review | A person reviews the stage and your lease is released. Watch the job, or where you can't, stop this job |
needs_person | The stage's round cap is reached (3 by default). Report the open findings and the job's auto_cancel_at from job_get: CADE cancels the job on that date unless a person acts first. Then watch the job, or where you can't, stop |
If job_submit answers 409 not_claimed, your lease ran out or an admin took the job over. Call job_claim(job_id) once: if it succeeds, submit again; if it answers claimed, stop this job and report that another seat holds it until the time CADE gives. The refusal never names that seat: claimed_by in job_get(job_id) does.
job_release(job_id) and say why. A finding that says "a person skips it" means the job's article, question or work group is gone: release the job and report it. job_skip(job_id, reason) cancels the job and refunds its quota, and it can't be undone. Skip only when the operator asks, or when the job can never be done, for example when its topic is one the site avoids.job_get(job_id) and give its job_status and stage, with auto_cancel_at when it is set.When a job leaves your hands, you can wait for it in the background and carry on as soon as it comes back, until it ends.
When. Only in an attended session that can run a shell command in the background (Bash with run_in_background, as in Claude Code), never in an unattended run or a batch. Start a watcher after:
in_review;needs_person;auto_approved with next_packet null, while CADE runs its own stages.Anywhere else (Claude desktop chat, claude.ai), stop there and tell the operator to come back with "pick up job {id}".
Start. Call job_get(job_id). If it has no watch, stop as you would without a watcher. Otherwise put its watch.url and watch.token into this script, run it with Bash and run_in_background: true, and end your turn after one line that says what you are watching and asks the operator not to pick this job up in another session meanwhile. The script checks the job every 15 seconds and exits on the first change that needs you. A 429 just tries again. Any other 4xx ends it at once. A check with no usable answer (no connection, a 5xx, a page that isn't CADE's answer, no curl) tries again, up to 40 in a row (10 to 17 minutes), then ends it with unreachable.
u='<watch.url>'; t='<watch.token>'; n=0
while :; do
r=$(curl -s -m 10 -w ' http=%{http_code}' -H "X-Job-Watch: $t" "$u")
case "$r" in
*'"turn":"agent"'*|*'"turn":"ended"'*) printf '%s\n' "$r"; exit 0;;
*'"success":true'*|*http=429) n=0;;
*http=4[0-9][0-9]) printf '%s\n' "$r"; exit 0;;
*) n=$((n+1)); [ "$n" -ge 40 ] && { printf 'unreachable %s\n' "$r"; exit 0; };;
esac
sleep 15
done
Run one watcher per job, in one session. Before you start one, or claim the job for any reason but a watcher's wake (the operator says "pick up job {id}", say), stop any watcher still running for that job. Never poll job_get yourself.
When it wakes you, act on the line it printed:
| The line has | Do |
|---|---|
"turn":"agent" | The job is yours again: a stage was approved and the next one is yours, or a reviewer left a note (note_waiting is true). Call job_claim(job_id) and go on from step 2 of "One job", notes first. If the claim answers 409 claimed, another seat holds the job: start a new watcher and say so. Any other refusal (not_waiting, site_profile_not_validated): report it and stop. Never take another job from a wake |
"turn":"ended" | Report its job_status, and its published_url once published. Stop |
http=401 | The token's 24 hours are up. Call job_get(job_id) once and start a new watcher. If that one also ends with http=401 straight away, report it and stop |
http=404 | The job is gone. Report it and stop |
Any other http=4xx | The watch was refused, for example by a firewall. Tell the operator, and stop as you would without a watcher: they come back with "pick up job {id}" |
Starts with unreachable | The watcher got no usable answer for 10 to 17 minutes: no network from this session, a sandbox that blocks it, server errors, or no curl. Tell the operator the job can't be watched from here, and stop as you would without a watcher: they come back with "pick up job {id}" |
Stop the watcher's background task when the operator says stop. It also ends with the conversation.
For "work 5 jobs" or "drain the queue", give each job a fresh context: in Claude Code, run each job in its own sub-agent, one job_claim_next and its stages per sub-agent. Elsewhere, work one job per conversation. A long conversation re-reads every earlier job on each call.
A batch never watches. Give each sub-agent "Work the next manual-mode job. This is one job of a batch: don't watch it." so it ends where its job leaves its hands.
Stop at the number asked for, or when nothing is waiting. Report one line per job from job_get (id, type, domain, stage, job_status), then list every job that needs a person with its auto_cancel_at.
A run is unattended when its prompt says "This is an unattended run". Nobody is there to answer, so:
job_claim_next(), then that job's stages until it leaves your hands (in_review, needs_person, auto_approved with no next_packet, or a release). Never claim a second job. In a batch, each sub-agent is one session, and it sees only the prompt you give it: give each one "Work the next manual-mode job. This is an unattended run." so it keeps these rules and ends with its own RESULT line.RESULT line and end: a later session claims it once it is back in the queue.job_release(job_id) and write one line saying why just above the RESULT line. job_release takes no reason, so that line is the only record of it.RESULT job=<id> type=<task_type> domain=<domain> stage=<stage> status=<job_status> once the job has left your hands, filled from a fresh job_get(job_id) (- when stage is null).RESULT none when job_claim_next answers "No job is waiting".RESULT stop reason=identity when cade-mcp doesn't let you in: a "Pomerium identity" error, a request to sign in, a 401 or a 403, or its job tools missing because it is waiting for a sign-in (the session lists it as needing authentication, or offers only its authenticate tool). A lapsed sign-in shows up that way, and so can a cade-mcp that can't be reached; count it as identity, not error. Don't try to sign in. Stop at once.RESULT stop reason=error when a tool fails in a way you can't work around: a CADE or cade-mcp call that times out or fails on the server's side, or one job tool missing while the others are there. Release a job you hold first.Setting up the runs (the loop, its permissions, reading the RESULT lines) is in unattended.md, for operators. CADE never starts a run.
in_review or needs_person before it comes back to you: its watcher wakes you with "turn":"agent", or the operator says "pick up job {id}".job_get in a loop, run two watchers on one job, or watch in an unattended run or a batch.context.fixed_keyword, an image slot, a FAQ question_id, a candidate site's url.What SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/articleWrite the agent stages of a CADE manual-mode article job - keyword, brief, outline, metadata, draft, and the repair of paragraphs the fact check rejected - from the job's packet, using the cade-mcp site and keyword tools, so each stage passes CADE's checks in the first round. Use when a claimed article job's open stage is keyword, brief, outline, metadata, draft or repair, or for "repair the flagged paragraphs on job {id}", "write the brief for job {id}", "fix the outline findings", "why did the draft fail its checks". Claiming, submitting and batches are manual:work-jobs; choosing the keyword is manual:keywords./faqWrite the answers stage of a CADE manual-mode FAQ job - answer the job's question from its published article, in the business's own voice, or mark it unanswerable - so it passes CADE's checks in the first round. Use when a claimed job's open stage is answers, or for "answer the FAQ for job {id}", "fix the FAQ findings", "why was this answer refused". Claiming and submitting are manual:work-jobs; starting FAQ jobs is jobs_start there.Other plugins' skills for the same job
/feedtextWrite the feedtext stage of a CADE manual-mode feedtext job - the topical index that ties a BRON work group's articles together, 800 to 1,200 words of Markdown with the group's keywords and links - so it passes CADE's checks in the first round. Use when a claimed job's open stage is feedtext, or for "write the feedtext for job {id}", "fix the feedtext findings", "why were the links refused". Claiming and submitting are manual:work-jobs.npx claudepluginhub blackwoodproductions/bwp-tools --plugin manual