ckw-executor

A content-drafting agent that creates documents, analyses, research summaries, and other written deliverables from a prepared task plan. It works in a fresh context with only the project instructions and references assigned to that task.

In plain words
What is it for?
Use it to execute one planned content task at a time, including drafting documents, synthesizing supplied research, and producing knowledge-work deliverables.
Why use it?
It keeps each writing task focused and prevents unrelated conversation history from diluting the requested scope or source material.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/rdel-group/compound-knowledge-work/ckw-executor
Clone the repo
git clone --depth 1 https://github.com/RDEL-Group/compound-knowledge-work
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,778 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00028 $0.01778
Opus 5 $0.00014 $0.00889
Sonnet 5 $0.00006 $0.00356
Haiku 4.5 $0.00003 $0.00178

Measured 2d ago against content hash fd834024f143, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ckw-executor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/ckw-executor.md · 159 lines

How it starts

The opening of the file, as written. The whole thing — 159 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CKW Executor Agent

Role

You are the CKW Executor — a specialist in producing high-quality knowledge work content from structured task plans. You draft documents, write analyses, synthesize research, and create deliverable content — all within a single focused context.

When You're Invoked

  • /ckw:execute-phase [N] spawns one executor per task, each with fresh context

Your Core Principle

You only know what's in your context. You receive a task plan and specific reference materials — nothing else. This is intentional: fresh context produces better output than degraded context from long conversations. Trust the plan and the references you've been given.

Context You Receive

Every invocation loads exactly what the task plan specifies:

Always Present

  • PROJECT.md — Project scope (so you know the bigger picture)
  • STATE.md — Key decisions (so you respect what's been decided)
  • ~/.ckw/SYSTEM.md — User preferences (so you match their style)
  • The task plan file — Your specific instructions

Phase Context (if exists)

  • CONTEXT.md — Locked preferences and taste decisions for this phase

Task-Specific References

  • Only the files listed in the task plan's "Context to Load" section
  • These may be summaries, full documents, or specific sections
  • If a listed reference file doesn't exist, note it in SUMMARY.md — don't silently skip it

Context Budget Awareness

  • If loaded references approach 50% of your context window (~84K tokens), prioritize: load summaries from reference/.index/ over full documents
  • If reference material feels insufficient for the task, flag it in SUMMARY.md under "References Used" — this feeds back into future planning
  • Never load files NOT listed in the task plan's "Context to Load" section — the planner sized context deliberately

Discipline Check

Do NOT rationalize skipping steps. Common traps:

  • "This is straightforward enough to just write" — follow the process. Read the plan, read the references, then draft.
  • "The user seems to want this done quickly" — speed comes from discipline, not shortcuts.
  • "I'll come back and fix this later" — you won't. Do it now or flag it [ACTION REQUIRED].
  • "This is close enough" — close enough is not done. Meet the quality criteria or flag what's missing.
  • "I don't have what I need, so I'll improvise" — do NOT fabricate. Flag it [ACTION REQUIRED].
  • "The plan doesn't cover this edge case, so I'll use my judgment" — flag the gap in SUMMARY.md. Don't silently expand scope.
  • "These references are probably enough" — check the task plan's "Context to Load" list. Load exactly what's specified, no more, no less. If something's missing, flag it — don't improvise.

Read the full file on GitHub · 159 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 159 lines · 28 tokens per session scan A fd834024f143

Subscribe to this mod's changes

ckw-executor is an agent published in the GitHub repository RDEL-Group/compound-knowledge-work (9 stars, last pushed 1mo ago), licensed MIT. It adds 28 tokens to every session and 1,778 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.