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 skills add velinussage/brand-gen --skill brand-gen-intent-preservation-tracegit clone --depth 1 https://github.com/velinussage/brand-genWrote 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/skills/velinussage/brand-gen/brand-gen-intent-preservation-trace)<a href="https://agentmods.dev/skills/velinussage/brand-gen/brand-gen-intent-preservation-trace"><img src="https://agentmods.dev/badge/skills/velinussage/brand-gen/brand-gen-intent-preservation-trace/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/skills/velinussage/brand-gen/brand-gen-intent-preservation-trace"><img src="https://agentmods.dev/badge/skills/velinussage/brand-gen/brand-gen-intent-preservation-trace.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.00165 | $0.01984 |
| Opus 5.5 | $0.00066 | $0.00794 |
| Sonnet 5.5 | $0.00033 | $0.00397 |
| Haiku 4.5 | $0.00016 | $0.00198 |
Grade A, and why
brand-gen-intent-preservation-trace 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 2mo 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 — 136 lines — stays where its author put it; the contents beside it link to each section on GitHub.
For Sage brand work in Pi, use the paste-ready prompt at docs/prompts/pi-sage-brand-gen-full-pipeline.md. Keep this link instead of copying the full prompt into skill bodies.
Brand-Gen Intent Preservation Trace
Risk addressed: MaterialPlan (pipeline_types.py:72) holds typed fields, but create_material_plan returns a dict, and assemble_generation_scratchpad reads via plan.get("aesthetic_capsule"), plan.get("selected_inspiration_sources"), plan.get("system_mechanic") etc. Many high-information fields are flattened to strings before generation: selected_mechanic_labels becomes "borrow {a} and {b}; avoid {x}" (prompt_assembly.py:670); aesthetic_capsule becomes free-form prose via render_capsule_prompt; surface_strategy_candidates is computed as a list but only the chosen selected_surface_strategy_prompt_directive string survives. Scoring (scoring/program.py) gets brand_dna: str and story_objective: str — the structured plan is gone.
Once intent is a string, downstream stages cannot reason about why something was chosen. Critique can only re-parse prose. Iteration memory captures style_anchor strings without the structured "this anchor came from variant X with score Y because Z." This caps the ceiling of the auto-feedback loop.
What this skill produces
{
"summary": {
"material_plan_fields_total": 28,
"preserved_to_scratchpad": 14,
"preserved_to_scorer": 5,
"preserved_to_iteration_memory": 4,
"lossy_boundaries": [
"plan_builder → prompt_assembly (string render)",
"scratchpad → scoring (only brand_dna/story_objective survive)",
"any → iteration_memory (only style_anchor + score)"
]
},
"field_matrix": [
{
"plan_field": "aesthetic_capsule",
"type": "dict",
"scratchpad": "preserved_dict",
"scorer": "lost — flattened to brand_dna prose",
"iteration_memory": "lost",
"string_render_site": "prompt_assembly.render_capsule_prompt:NNN",
"consequence": "scorer cannot fault palette mismatch except via brand_dna prose; cannot suggest 'try alt capsule X'"
},
{
"plan_field": "selected_mechanic_labels",
"type": "list[str]",
"scratchpad": "preserved_list",
"scorer": "lost — joined as 'borrow X; avoid Y' string",
"iteration_memory": "lost",
"string_render_site": "prompt_assembly.py:670",
"consequence": "iteration cannot promote a single mechanic; entire string treated atomically"
},
{
"plan_field": "surface_strategy_candidates",
"type": "list[dict]",
"scratchpad": "lost — only selected_surface_strategy_prompt_directive (str) survives",
"scorer": "lost",
"iteration_memory": "lost",
"string_render_site": "plan_builder.py:??",
"consequence": "cannot A/B alternative strategies; rejection of selected has no structure to reuse"
}
/* ... per-field ... */
],
"rubric_input_surface": {
"scorer_signature_inputs": ["brand_dna", "story_objective", "rubric_axes"],
"structured_plan_addressable": false,
"minimum_extension": [
"add aesthetic_capsule_id",
"add selected_mechanic_ids: list[str]",
"add inspiration_role_ids: list[str]",
"add experiment_id (per brand-gen-experiment-modeling)"
]
},
"iteration_memory_surface": {
"fields_persisted": ["version_id", "score", "style_anchor", "notes"],
"structured_intent_persisted": false,
"minimum_extension": ["plan_id", "selected_mechanic_ids", "aesthetic_capsule_id"]
}
}
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.
- 2mo ago First seen · 136 lines · 165 tokens per session scan A 8b8575ecf6f9
brand-gen-intent-preservation-trace is a skill published in the GitHub repository velinussage/brand-gen (0 stars, last pushed 5mo ago), licensed MIT. It adds 165 tokens to every session and 1,984 once invoked, about $0.0007 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-31.
brand-gen-intent-preservation-trace compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| brand-gen-intent-preservation-tracevelinussage/brand-gen | Skill | 0 | 5mo ago | MIT | A | 165 | Claude Code, Codex |
| autoreviewopenclaw/clawhub | Skill | 9.6k | today | MIT | A | 17 | Claude Code, Codex |
| agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skills | Skill | 2.2k | 2d ago | MIT | A | 115 | Claude Code, Codex |
| omh-code-reviewrlaope/oh-my-hermes | Skill | 5.2k | today | MIT | A | 49 | Claude Code, Codex |
| revdiff-planumputun/revdiff | Skill | 947 | 3d ago | MIT | A | 84 | Claude Code |
| explore-unknownsdzhng/skills | Skill | 1.5k | today | MIT | A | 162 | Claude Code, Codex |
| re0-mergeLilMGenius/paperthin | Skill | 1.4k | today | MIT | A | 70 | Claude Code |