construct-toy-examples

construct-toy-examples is a skill for Codex from frenzymath/Danus. It costs 57 tokens per session (465 once invoked), scanned A, original, Apache-2.0.

A reasoning aid that creates small, simple examples satisfying both the assumptions and conclusion of a theorem or subgoal. It is intended to build intuition about why the statement works.

In plain words
What is it for?
Use it when stuck on a theorem or proof step to study simple cases, verify the conclusion, and identify patterns.
Why use it?
It makes difficult abstract reasoning easier to inspect by reducing it to familiar or low-dimensional cases. The examples can show where each assumption matters and suggest reusable proof ideas.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex; $skill-name invocation.

Good fit Use it when stuck on a theorem or proof step to study simple cases, verify the conclusion, and identify patterns.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/frenzymath/danus/construct-toy-examples
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 frenzymath/Danus --skill construct-toy-examples
Clone the repo
git clone --depth 1 https://github.com/frenzymath/Danus

Made for: 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 construct-toy-examples

README.md
[![agentmods](https://agentmods.dev/badge/skills/frenzymath/danus/construct-toy-examples/github.svg)](https://agentmods.dev/skills/frenzymath/danus/construct-toy-examples)
Your own site
<a href="https://agentmods.dev/skills/frenzymath/danus/construct-toy-examples"><img src="https://agentmods.dev/badge/skills/frenzymath/danus/construct-toy-examples/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 construct-toy-examples

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 465 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00057 $0.00465
Opus 5.5 $0.00023 $0.00186
Sonnet 5.5 $0.00011 $0.00093
Haiku 4.5 $0.00006 $0.00047

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

Security

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 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.

agents/skills/worker/construct-toy-examples/SKILL.md · 60 lines

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 counterexamples and failed branch notes
  • relevant background/results when available

Procedure

  1. Construct simpler cases (low degree, small dimension, special forms, canonical objects).
  2. Ensure the toy example satisfies all assumptions of the target statement or subgoal.
  3. Check that the conclusion also holds in the toy example.
  4. Study where each assumption takes effect and what mechanism makes the conclusion true.
  5. Identify repeated patterns, invariants, or proof ideas suggested by the example.
  6. 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_theorems for matching examples/known motifs
  • Codex built-in web search for known example families and standard constructions
  • use $search-math-results when broader retrieval is needed

Failure Logging

If generated examples are inconclusive, append an events record:

  • event_type="toy_examples_inconclusive"
  • include attempted example families
Files

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.

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. 3mo ago First seen · 60 lines · 57 tokens per session scan A 36bd2f2f392a

Subscribe to this mod's changes

construct-toy-examples is a skill published in the GitHub repository frenzymath/Danus (516 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 57 tokens to every session and 465 once invoked, about $0.0002 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.

Related

construct-toy-examples compared with skills from other repositories

construct-toy-examples next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
construct-toy-examplesfrenzymath/DanusSkill5163mo agoApache-2.0A57Codex
personal-genomicssammcj/agentic-codingSkill1744d agoApache-2.0A56Claude Code
post-processingHeshamFS/materials-simulation-skillsSkill9515d agoApache-2.0A130Claude Code
nonlinear-solversHeshamFS/materials-simulation-skillsSkill9515d agoApache-2.0A153Claude Code
numerical-integrationHeshamFS/materials-simulation-skillsSkill9515d agoApache-2.0A142Claude Code
numerical-stabilityHeshamFS/materials-simulation-skillsSkill9515d agoApache-2.0A92Claude Code
slurm-job-script-generatorHeshamFS/materials-simulation-skillsSkill9515d agoApache-2.0A145Claude Code