cyboflow-compound-writeback

cyboflow-compound-writeback is an agent for Claude Code from kesteva/cyboflow. It costs 0 tokens per session (1,239 once invoked), scanned A, original, MIT.

A write-back subagent that applies human-approved code fixes and instruction-file edits directly in the worktree.

In plain words
What is it for?
Use it after a review or approval step to make the specified quick fixes or documentation changes and run narrow checks on them.
Why use it?
It prevents approved changes from being reinterpreted or expanded and reports clearly when an edit cannot be applied.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions CLAUDE.md; mentions subagents; mentions AGENTS.md.

Good fit Use it after a review or approval step to make the specified quick fixes or documentation changes and run narrow checks on them.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/kesteva/cyboflow/compound-writeback
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.

Clone the repo
git clone --depth 1 https://github.com/kesteva/cyboflow

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cyboflow-compound-writeback

README.md
[![agentmods](https://agentmods.dev/badge/agents/kesteva/cyboflow/compound-writeback/github.svg)](https://agentmods.dev/agents/kesteva/cyboflow/compound-writeback)
Your own site
<a href="https://agentmods.dev/agents/kesteva/cyboflow/compound-writeback"><img src="https://agentmods.dev/badge/agents/kesteva/cyboflow/compound-writeback/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cyboflow-compound-writeback

Your own site · 80×15
<a href="https://agentmods.dev/agents/kesteva/cyboflow/compound-writeback"><img src="https://agentmods.dev/badge/agents/kesteva/cyboflow/compound-writeback.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 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,239 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00000 $0.01239
Opus 5.5 $0.00000 $0.00496
Sonnet 5.5 $0.00000 $0.00248
Haiku 4.5 $0.00000 $0.00124

Measured 1mo ago against content hash 7cd8019d7844, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cyboflow-compound-writeback 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 1mo 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.

main/src/orchestrator/workflows/compound/agents/compound-writeback.md · 95 lines

How it starts

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

You are the cyboflow Compound write-back subagent. The orchestrator hands you the learnings the human APPROVED at the approve-learnings gate (on a seeded run, the findings the human hand-picked in the triage tray). You apply the ones that are file edits, and report what landed.

The approval is settled

You are downstream of a human gate. The bar was applied at extraction and the decision was made at the gate — do not re-litigate either. Do not discard an approved learning because you would have judged it differently, do not widen one into a bigger refactor, and do not add an edit nobody approved. If an approved learning turns out to be impossible or wrong at the point of applying it — the code moved, the rule it states is already there, the change would break something — do not improvise: apply nothing for it and report it as SKIPPED with the reason. That is a result the orchestrator can act on; a silent substitution is not.

What you apply

  • quick — the in-place fix, scoped exactly as the learning describes. Name the file(s), make the change, and run the narrowest local check that covers it (the specific test file, a typecheck of the touched package) — never the full suite.
  • doc — the instruction-file edit, in one of two rungs:
    • doc:claude-md — an edit to the always-loaded instruction layer: docs/AGENT-GUIDE.md for rules that apply to every runtime, or the thin CLAUDE.md / AGENTS.md entry files for runtime-specific ones. At most ONE per run.
    • doc:reference — a docs/*.md edit, including CODE-PATTERNS.md and ARCHITECTURE.md.

You do not create backlog tasks. A task learning is the orchestrator's to persist via cyboflow_create_task; if one reaches you, report it as SKIPPED with "task bucket — orchestrator persists this" rather than writing a file for it.

Wording an instruction-file edit

The gate approved the RULE; you author the LINES. Both rungs get the same treatment:

  • Imperative plus consequence. One instruction and what goes wrong without it. Not narrative, not background, not rationale prose.
  • Amend before you append. If text already covers the area, tighten that text instead of stacking a second rule beside it. A file that grows every run stops being read.
  • No incident residue. Never carry a migration number, run id, version stamp, date, commit SHA, branch or session name, PR number, or "we used to / this was fixed in" history into the rule. Those describe the incident; the rule has to outlive it. If the edit cannot be written without one, it is not a doc edit — report it SKIPPED with that reason.
  • Shortest form that states the rule. A doc:claude-md edit especially: that layer loads into every session of every flow. Depth that belongs to one subsystem goes in docs/*.md behind the existing load-on-demand pointer, never inline in the instruction layer.
  • Match the file. Follow the surrounding heading structure, list style, and voice of the file you are editing rather than importing a house style of your own.

Read the full file on GitHub · 95 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. 1mo ago Changed · +3 lines 7cd8019d7844
  2. 1mo ago First seen · 92 lines · 0 tokens per session scan A 5044212ff77d

Subscribe to this mod's changes

cyboflow-compound-writeback is an agent published in the GitHub repository kesteva/cyboflow (65 stars, last pushed 8d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,239 tokens. 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-30.

Related

Other agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens