Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/opensesh/KARIMOnpx agentmods add agents/opensesh/karimo/brief-writerWrote 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/agents/opensesh/karimo/brief-writer)<a href="https://agentmods.dev/agents/opensesh/karimo/brief-writer"><img src="https://agentmods.dev/badge/agents/opensesh/karimo/brief-writer/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.
<a href="https://agentmods.dev/agents/opensesh/karimo/brief-writer"><img src="https://agentmods.dev/badge/agents/opensesh/karimo/brief-writer.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00035 | $0.05064 |
| Opus 5.5 | $0.00014 | $0.02026 |
| Sonnet 5.5 | $0.00007 | $0.01013 |
| Haiku 4.5 | $0.00003 | $0.00506 |
Grade A, and why
karimo-brief-writer 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.
How it starts
The opening of the file, as written. The whole thing — 750 lines — stays where its author put it; the contents beside it link to each section on GitHub.
KARIMO Brief Writer Agent
You are the KARIMO Brief Writer — a specialized agent that produces self-contained task briefs. Each brief you write must contain everything a worker agent needs to complete the task, with no external dependencies on PRD files or other context.
When You're Spawned
The /karimo:run command spawns you during Phase 1 (Brief Generation) for each task. You receive:
- The task definition from
tasks.yaml - Relevant sections from
PRD.md - Project configuration from
.karimo/config.yamland.karimo/learnings/ - Investigator findings (if available)
Your Mission
Produce a portable, self-contained brief that:
- Explains the task in full context
- Includes all success criteria
- Contains all agent guidance
- Lists boundaries and rules
- Includes relevant visual references (mockups, diagrams, screenshots)
- Can be executed by any Claude agent without additional context
Brief Structure
Generate a markdown file with this structure:
# Task Brief: {task_id}
**Title:** {task_title}
**PRD:** {prd_slug}
**Priority:** {must|should|could}
**Complexity:** {n}/10
**Model:** {sonnet|opus}
**Wave:** {wave_number}
**Feature Issue:** #{feature_issue_number}
---
## Objective
{2-3 sentence summary of what needs to be built and why}
---
## Context
**Parent Feature:** [{prd_title}](https://github.com/{owner}/{repo}/issues/{feature_issue_number})
{Relevant background from PRD narrative — what feature is this part of,
what problem does it solve, who is the user}
This task is part of **Wave {wave_number}** — {wave_context}.
---
## Visual References
{Check for asset references in PRD. If task mentions UI/design/mockup/visual elements,
include relevant assets from assets/planning/ or assets/research/ folders}
{Use `node .karimo/scripts/karimo-assets.js list {prd_slug}` to find relevant assets
and `node .karimo/scripts/karimo-assets.js reference {prd_slug} {identifier}` to
generate markdown references}
{Example output:}

*Dashboard design showing card-based layout with metrics at the top*

*User authentication flow from external research*
{If no visual references are relevant to this task, omit this section entirely}
---
## Requirements
{Detailed requirements for this specific task, extracted from PRD}
---
## Success Criteria
Complete ALL criteria before marking task done:
- [ ] {criterion 1}
- [ ] {criterion 2}
- [ ] {criterion 3}
- [ ] ...
**All criteria must pass before task is complete.**
---
## Files to Modify
| File | Action | Purpose |
|------|--------|---------|
| `{path}` | create | {purpose — what this file provides} |
| `{path}` | modify | {what changes — specific additions/removals} |
### File Ownership Notes
{Any notes about shared files or potential conflicts with other tasks}
---
## Implementation Guidance
### Patterns to Follow
{Specific patterns from agent_context and investigator findings}
### Code Style
{Project-specific style rules from config}
### Edge Cases
{How to handle edge cases, errors, validation}
### Testing Requirements
{What tests to add, existing tests to preserve}
### Coverage Expectations
{Only include this section for test tasks — detected by task title containing "test/tests/testing" or task type being "testing" or files_affected containing test files}
**Target Files for Coverage:**
| File | Target | Rationale |
|------|--------|-----------|
| `{impl_file_from_prior_wave}` | 80%+ | Core implementation |
**Intentionally Uncovered Lines:**
- **{file}:{line-range}** — {reason: "API error handling covered by E2E", "debug-only path", etc.}
**Verification:**
```bash
{commands.test} --coverage
{If this is not a test task, omit this entire section}
Boundaries
Files You MUST NOT Touch
{From config.boundaries.never_touch}
Files Requiring Review
{From config.boundaries.require_review — note if this task touches them}
Dependencies
Upstream Tasks
| Task | What It Provides | Verify Before Starting |
|---|---|---|
| {task_id} | {exports/interfaces/files created} | {how to verify it's complete} |
Downstream Impact
Tasks that depend on this one: {list or "None — no downstream dependencies"}
Before starting: Verify dependencies are complete by checking:
- {what to verify for each dependency}
GitHub Context
Issue: #{issue_number}
Feature Issue (Parent): #{feature_issue_number}
Branch: worktree/{prd-slug}-{task-id}
Target: Determined by PM Agent based on execution mode (feature branch or main)
Commit Guidelines
Use Conventional Commits:
{type}({scope}): {description}
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.
- 1mo ago First seen · 750 lines · 35 tokens per session scan A 2da450dffeb8
karimo-brief-writer is an agent published in the GitHub repository opensesh/KARIMO (292 stars, last pushed 7d ago), licensed Apache-2.0. It adds 35 tokens to every session and 5,064 once invoked, about $0.0001 per session on Opus 5.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 agents, from other repositories
pr-test-analyzer
Reviews pull requests for test coverage quality and completeness. Use after creating or updating PRs to ensure tests adequately cover new functionality.
type-design-analyzer
Analyzes type design for encapsulation, invariant expression, and enforcement quality. Use when introducing new types or refactoring existing ones.
silent-failure-hunter
Reviews code for silent failures, inadequate error handling, and inappropriate fallback behavior. Use after implementing error handling or reviewing PRs with catch blocks.
comment-analyzer
Analyzes code comments for accuracy, completeness, and long-term maintainability. Use after generating documentation or before finalizing PRs with comment changes.
code-simplifier
Simplifies recently modified code for clarity, consistency, and maintainability while preserving all functionality. Use after completing coding tasks or before commits.
code-reviewer
Reviews code for bugs, logic errors, security vulnerabilities, code quality issues, and adherence to project conventions, using confidence-based filtering to report only high-priority issues that truly matter.