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.
npx agentmods add commands/othmanadi/mddesign/harvestgit clone --depth 1 https://github.com/OthmanAdi/MDDesignWrote 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.
[](https://agentmods.dev/commands/othmanadi/mddesign/harvest)<a href="https://agentmods.dev/commands/othmanadi/mddesign/harvest"><img src="https://agentmods.dev/badge/commands/othmanadi/mddesign/harvest.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00052 | $0.00499 |
| Opus 5 | $0.00026 | $0.00249 |
| Sonnet 5 | $0.00010 | $0.00100 |
| Haiku 4.5 | $0.00005 | $0.00050 |
Grade A, and why
harvest 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 4d 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.
What it actually says
/mddesign:harvest
Generate DESIGN.md from an existing codebase.
What I do
-
Pre-flight: glob
DESIGN.mdat project root.- If exists and
--overwritenot passed: refuse. Point user at/mddesign:critique. - Confirm
npxis available viabash -c "command -v npx".
- If exists and
-
Dispatch design-archeologist: call the
Agenttool withsubagent_type: design-archeologistand a prompt that contains a PhaseSpec forharvest-<short-uuid>(see skills/design-harvest/SKILL.md for the exact PhaseSpec shape). -
HITL gate at write time: when the subagent returns
draft_design_md, print it to the user and wait for the PreToolUse hook (named checkpoint:before_design_md_write) to approve the write. -
Write:
Writethe draft toDESIGN.mdat project root. -
Lint and iterate:
Bash: npx --yes @google/design.md lint DESIGN.md- If exit 0, done.
- If non-zero, capture output, re-dispatch design-archeologist with
lint_errors: <output>. Loop up to 3 times. - After 3 failed iterations, print errors and stop.
-
Append to progress.md: under
### Phase harvest-<uuid> Result, note token counts, lint status, and next step (/mddesign:critique).
Arguments
--overwrite— replace existing DESIGN.md. Requires explicit intent because this is a destructive-ish action.
Boundaries
- Only writes DESIGN.md under the HITL gate.
- Never edits
task_plan.md. - Never reimplements Google's linter.
See skills/design-harvest/SKILL.md for full implementation details.
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.
- 4d ago First seen · 42 lines · 52 tokens per session scan A 554f12f63131
harvest is a command published in the GitHub repository OthmanAdi/MDDesign (13 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 52 tokens to every session and 499 once invoked, about $0.0003 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-30.
Other commands, from other repositories
ceo.ux
Use for UI/UX design, front-end specifications, AI UI generation prompts, wireframing, and experience optimization.
compile-profile
Compile a MyACE profile for a target framework (opencode, claude-code, cursor).
add-migration
Create a new Alembic database migration for the backend.
run-tests
Run tests across all MyACE components (backend, frontend, CLI).
start-dev
Start the full MyACE development environment with Docker Compose.
arckit.at-barrierefreiheit
You are helping an enterprise architect generate an Austrian Accessibility Assessment. Austria transposed the EU accessibility regime along two separate tracks, and which one applies is a question about the entity, not about the technology.