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 agentsope/SkillAlchemy --skill agentsop-signature-designgit clone --depth 1 https://github.com/agentsope/SkillAlchemyWrote 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/agentsope/skillalchemy/agentsop-signature-design)<a href="https://agentmods.dev/skills/agentsope/skillalchemy/agentsop-signature-design"><img src="https://agentmods.dev/badge/skills/agentsope/skillalchemy/agentsop-signature-design/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/agentsope/skillalchemy/agentsop-signature-design"><img src="https://agentmods.dev/badge/skills/agentsope/skillalchemy/agentsop-signature-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00226 | $0.05381 |
| Opus 5.5 | $0.00090 | $0.02152 |
| Sonnet 5.5 | $0.00045 | $0.01076 |
| Haiku 4.5 | $0.00023 | $0.00538 |
Grade A, and why
agentsop-signature-design 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 3mo 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 — 321 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Signature-Design — Promote Prose → Typed Contract
"DSPy uses the field names as the only natural-language hint the optimizer has about intent before it sees data. Name them like you'd name function parameters in well-written code." — derived from [dspy.ai/learn/programming/signatures/], see
references/R1-source-evidence.md
This skill is the decision layer, not the library layer. It tells you when a prose prompt has become
"load-bearing" enough to deserve a typed Signature, and how to shape its fields. For the actual API
(dspy.Signature, InputField, OutputField, Predict, ChainOfThought, compile, save) defer to the
[[dspy]] skill; for the full program→evaluate→optimize SOP defer to [[agentsop-dspy]].
1. 何时激活 (When to activate)
Activate this overlay the moment a hand-written prompt crosses any one of three load-bearing thresholds.
| Trigger | Concrete signal | Why it matters |
|---|---|---|
| Length | A single prompt string grows past ~50 lines of f-string / template | Long prose prompts hide their I/O contract inside narration; the [[agentsop-dspy]] skill names this exact symptom: "hand-written prompts grow past ~50 lines; brittleness on model swap" (R1, claim S1) |
| Code-consumed output | The LM response is parsed, branched on, or stored by downstream code (not just shown to a human) | If code reads the output, the output has a type. An untyped prompt forces brittle regex/JSON-scraping at every call site |
| Reuse | The same prompt (or a copy-pasted variant) is called from >1 call site or in a loop | Reuse means the contract is now an API surface. Drift between copies is a guaranteed bug source |
Secondary signals (each strengthens, none alone is sufficient):
- The prompt is about to be model-swapped (GPT → Llama) and you fear it will break — Signatures + recompile is the documented fix (
R1, claim S6; see [[agentsop-dspy]] Case B). - A metric already exists for this task — you are one step from optimization, and optimizers require a Signature.
- The prompt mixes task instruction + few-shot demos + format spec in one blob — Signatures separate these cleanly.
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3mo ago First seen · 321 lines · 226 tokens per session scan A d6cc58c20f89
agentsop-signature-design is a skill published in the GitHub repository agentsope/SkillAlchemy (513 stars, last pushed 22d ago), licensed MIT. It adds 226 tokens to every session and 5,381 once invoked, about $0.0009 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.
agentsop-signature-design compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agentsop-signature-designagentsope/SkillAlchemy | Skill | 513 | 22d ago | MIT | A | 226 | Claude Code, Codex |
| prompt-refineApeironics/prompt-refine-skill | Skill | 54 | 26d ago | MIT | A | 56 | Claude Code, Codex |
| prompt-perturbshimo4228/claude-harness | Skill | 4 | 7d ago | MIT | A | 23 | Claude Code |
| prompt-evaluation-runneryeaight7/agent-powerups | Skill | 10 | 2mo ago | Apache-2.0 | A | 33 | Claude Code |
| build-dotnet-agent-servicegaelic-ghost/socket | Skill | 11 | 3mo ago | Apache-2.0 | A | 36 | Claude Code |
| prompt-decoratorssmkalami/skills | Skill | 11 | 8mo ago | MIT | A | 129 | Claude Code, Codex |
| vibe-creating-promptAlisa0808/vibe-creating-skill | Skill | 168 | 5mo ago | none | A | 187 | Claude Code, Codex |