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 skills/frenzymath/danus/construct-toy-examplesnpx skills add frenzymath/Danus --skill construct-toy-examplesgit clone --depth 1 https://github.com/frenzymath/DanusWrote 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/frenzymath/danus/construct-toy-examples)<a href="https://agentmods.dev/skills/frenzymath/danus/construct-toy-examples"><img src="https://agentmods.dev/badge/skills/frenzymath/danus/construct-toy-examples.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.00057 | $0.00465 |
| Opus 5 | $0.00028 | $0.00233 |
| Sonnet 5 | $0.00011 | $0.00093 |
| Haiku 4.5 | $0.00006 | $0.00047 |
Grade A, and why
construct-toy-examples 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 5d 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
Construct Toy Examples
Use this skill when the agent is stuck in reasoning and needs simpler examples that satisfy both the assumptions and the conclusion in order to understand why the statement works.
Input Contract
Read:
- current statement/subgoal
- relevant
immediate_conclusions - relevant
counterexamplesand failed branch notes - relevant background/results when available
Procedure
- Construct simpler cases (low degree, small dimension, special forms, canonical objects).
- Ensure the toy example satisfies all assumptions of the target statement or subgoal.
- Check that the conclusion also holds in the toy example.
- Study where each assumption takes effect and what mechanism makes the conclusion true.
- Identify repeated patterns, invariants, or proof ideas suggested by the example.
- Use search/reasoning/decomposition as needed to find examples or simplify the situation.
Output Contract
Publish each toy example to global memory with gm_add (kind example):
claim = what the example shows, evidence = the construction, plus these fields:
{
"example": "...",
"why_relevant": "...",
"assumptions_satisfied": ["..."],
"conclusion_verified": true,
"where_assumptions_take_effect": "...",
"observed_pattern": "...",
"supports_branch_ids": ["optional"],
"subgoal_id": "optional"
}
Tools
gm_add(publish the example finding)gm_search(recall related findings)search_arxiv_theoremsfor matching examples/known motifs- Codex built-in web search for known example families and standard constructions
- use
$search-math-resultswhen broader retrieval is needed
Failure Logging
If generated examples are inconclusive, append an events record:
event_type="toy_examples_inconclusive"- include attempted example families
What ships with it
1 file 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.
- 5d ago First seen · 60 lines · 57 tokens per session scan A 36bd2f2f392a
construct-toy-examples is a skill published in the GitHub repository frenzymath/Danus (387 stars, last pushed 8d ago), licensed Apache-2.0. It adds 57 tokens to every session and 465 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 skills, from other repositories
jupyter-notebook
Iterative Python via live Jupyter kernel (hamelnb).
paper-revision-author
Revise independently drafted paper sections into one coherent LaTeX body before the abstract is written.
batch-processing-clinical-text
Run large-scale batch NER, PII extraction, or de-identification over many clinical notes on-device with OpenMed, with sharding, checkpointing, resumability, and append-only JSONL output. Use when the user needs to process a corpus or folder of notes, de-identify a dataset, run NER over thousands of documents, build a…
coding-hcc-risk-adjustment
Maps chronic conditions extracted by OpenMed to CMS-HCC V28 risk-adjustment categories and estimates a RAF (Risk Adjustment Factor) score as decision support. Use when the user wants to surface risk-adjustable diagnoses from notes, map ICD-10-CM codes to HCC categories, estimate or reconcile a patient/panel RAF, find…
coding-icd10
Suggests candidate ICD-10-CM diagnosis codes (and ICD-10-PCS procedure codes) for diagnoses and procedures extracted by OpenMed, with rationale and a human-coder caveat. Use when the user wants to code a problem list, map a diagnosis span to a billable ICD-10-CM code, route a finding to the right chapter, cross-walk…
detecting-pv-signals
Computes disproportionality signals — PRR, ROR, EBGM, and IC (BCPNN) — over FAERS / OpenFDA drug-event data to flag potential safety signals. Use when the user wants to mine spontaneous-report data for drug-reaction associations, build a 2x2 contingency table, compute a Proportional Reporting Ratio or Reporting Odds…