brand-gen-loop-shape-assessment

brand-gen-loop-shape-assessment is a skill for Claude Code, Codex from velinussage/brand-gen. It costs 171 tokens per session (1,976 once invoked), scanned A, original, MIT.

An assessment skill for examining how Sage’s brand-generation pipeline moves through planning, validation, execution, review, and evolution. It checks whether later results can send the pipeline back to earlier stages or produce multiple candidates.

In plain words
What is it for?
Use it to document the pipeline’s state machine, identify missing feedback loops, and determine whether scoring can change plans or routes during the same run.
Why use it?
It makes hidden limits in the pipeline explicit, such as one-pass critique, single-result output, and feedback that is used only on a later run.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to document the pipeline’s state machine, identify missing feedback loops, and determine whether scoring can change plans or routes during the same run.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/velinussage/brand-gen/brand-gen-loop-shape-assessment
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.

Any agent
npx skills add velinussage/brand-gen --skill brand-gen-loop-shape-assessment
Clone the repo
git clone --depth 1 https://github.com/velinussage/brand-gen

Made for: Claude Code, Codex.

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 brand-gen-loop-shape-assessment

README.md
[![agentmods](https://agentmods.dev/badge/skills/velinussage/brand-gen/brand-gen-loop-shape-assessment/github.svg)](https://agentmods.dev/skills/velinussage/brand-gen/brand-gen-loop-shape-assessment)
Your own site
<a href="https://agentmods.dev/skills/velinussage/brand-gen/brand-gen-loop-shape-assessment"><img src="https://agentmods.dev/badge/skills/velinussage/brand-gen/brand-gen-loop-shape-assessment/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 brand-gen-loop-shape-assessment

Your own site · 80×15
<a href="https://agentmods.dev/skills/velinussage/brand-gen/brand-gen-loop-shape-assessment"><img src="https://agentmods.dev/badge/skills/velinussage/brand-gen/brand-gen-loop-shape-assessment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 171 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,976 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.00171 $0.01976
Opus 5.5 $0.00068 $0.00790
Sonnet 5.5 $0.00034 $0.00395
Haiku 4.5 $0.00017 $0.00198

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

Security

Grade A, and why

brand-gen-loop-shape-assessment 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.

skills/brand-gen-loop-shape-assessment/SKILL.md · 146 lines

How it starts

The opening of the file, as written. The whole thing — 146 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 Loop-Shape Assessment

Risk addressed: the route → plan → critique → scratchpad → generate flow is a sequential mutation pipeline, not a feedback graph. Each phase reads the previous JSON file and writes a new one. Critique is in-line and one-shot (pipeline_runner._run_critique); it cannot iterate the plan. Auto-feedback writes to iteration_memory which is read at next-run prompt assembly time. There is no in-flight "the critique fixed the plan" loop except for legacy VLM. max_iterations re-runs only _run_generate, not the planning phases. PipelineResult carries a single artifact set, not a candidate set.

The whole system models taste as a one-pass refinement — but the actual problem (aesthetic convergence) requires loops at the plan layer.

What this skill produces

{
  "summary": {
    "phases": ["route", "plan", "validate", "execute", "review", "evolve"],
    "phase_can_reenter_predecessor": false,
    "pipeline_result_carries_candidate_set": false,
    "scoring_feeds_into_route": false,
    "scoring_feeds_into_plan_in_same_run": false,
    "max_iterations_scope": "execute_only",
    "in_run_loops": [
      { "name": "max_iterations", "scope": "execute → review → execute", "controlled_by": "iteration count" }
    ],
    "across_run_loops": [
      { "name": "iteration_memory feedback", "scope": "next run's prompt assembly reads prior negatives" },
      { "name": "learnings promotion", "scope": "evolve writes to learnings.json; future runs prepare-phase reads it" }
    ]
  },
  "actual_state_machine": "(mermaid or graph dsl describing today's flow)",
  "desired_state_machine": "(graph showing plan↻ on critique block, candidate-set carried, scoring feedback into plan)",
  "delta": [
    {
      "transition": "validate.blocking → plan",
      "today": "blocking_findings → stop_reason; user must re-invoke orchestrate-material",
      "desired": "in-run plan revision driven by blocking findings",
      "minimum_change": "PipelineRunner._run_critique returns plan_revisions; runner re-enters _run_plan"
    },
    {
      "transition": "review.iterate → plan",
      "today": "iteration_memory mutated; loop exits; next run reads memory",
      "desired": "in-run plan revision driven by review.before_after_diffs",
      "minimum_change": "max_iterations covers plan re-entry; PipelineResult carries iteration_history"
    },
    {
      "transition": "execute → multiple_candidates",
      "today": "PipelineResult.artifacts is a single set; multi-candidate work is multiple runs",
      "desired": "PipelineResult.candidates: List[CandidateResult] when an Experiment is active",
      "minimum_change": "AestheticExperiment from brand-gen-experiment-modeling + List wrapper on artifacts"
    }
  ],
  "non_loops": [
    "scoring → route (would let the system reroute when a scored direction underperforms; doesn't exist)",
    "scoring → plan (in-run; would close the convergence loop; doesn't exist)"
  ],
  "blast_radius": {
    "introducing_plan_loop": "max_iterations semantics, PipelineResult shape, run_ledger schema",
    "introducing_candidate_set": "PipelineResult.artifacts, every consumer of artifacts (UI, MCP, brand-orchestrator)"
  }
}

Read the full file on GitHub · 146 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. 2mo ago First seen · 146 lines · 171 tokens per session scan A 83c2cb89e96f

Subscribe to this mod's changes

brand-gen-loop-shape-assessment is a skill published in the GitHub repository velinussage/brand-gen (0 stars, last pushed 5mo ago), licensed MIT. It adds 171 tokens to every session and 1,976 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.

Related

brand-gen-loop-shape-assessment compared with skills from other repositories

brand-gen-loop-shape-assessment next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
brand-gen-loop-shape-assessmentvelinussage/brand-genSkill05mo agoMITA171Claude Code, Codex
systematic-debuggingopen-metadata/OpenMetadataSkill16ktodayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7kyesterdayMITA71Claude Code, Codex
cwv-optimizeradobe/skillsSkill321todayApache-2.0A112Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2ktodayApache-2.0A15Claude Code, Codex
incident-response-incident-responsermyndharis/antigravity-skillsSkill2.0kyesterdayMITA36Claude Code, Codex
diagnosing-missing-recordingsPostHog/posthogSkill41ktodaynoneA76Claude Code, Codex