fact_odd_sum_main
For every integer $n \ge 1$, the sum of the first $n$ positive odd numbers equals $n^2$; that is, $S(n) = n^2$, where $S(n) = 1 + 3 + 5 + \cdots + (2n-1)$.
$ npx -y skills add frenzymath/Danus --agent claude-codeHow it fires
How this agent gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
Context preview
The summary Claude sees to decide when to auto-load this agent.
For every integer $n \ge 1$, the sum of the first $n$ positive odd numbers equals $n^2$; that is, $S(n) = n^2$, where $S(n) = 1 + 3 + 5 + \cdots + (2n-1)$.
Agent definition
fact_odd_sum_main.mdfact_id: fact_odd_sum_main
problem_id: odd-sum
author: example-worker
predecessors: [fact_odd_recurrence, fact_square_recurrence]
glossary_introduces: {}
external_refs: [{"key": "Exm20", "authors": ["C. Example"], "title": "Elementary induction, revisited", "venue": "Example Lecture Notes", "year": "2020", "cited_for": "the principle of mathematical induction in the form used here"}]statement
For every integer $n \ge 1$, the sum of the first $n$ positive odd numbers equals $n^2$; that is, $S(n) = n^2$, where $S(n) = 1 + 3 + 5 + \cdots + (2n-1)$.
proof
We argue by induction on $n$, in the form recalled in \cite{Exm20}.
Base case. For $n = 1$ we have $S(1) = 1 = 1^2$.
Inductive step. Suppose $S(n) = n^2$ for some $n \ge 1$. By the recurrence for the partial sums, $S(n+1) = S(n) + (2n+1)$. Substituting the inductive hypothesis gives $S(n+1) = n^2 + (2n+1)$. By the recurrence for the squares, $n^2 + (2n+1) = (n+1)^2$. Hence $S(n+1) = (n+1)^2$, completing the induction.
intuition
Both $S(n)$ and $n^2$ start at $1$ and grow by the same increment $2n+1$ at each step, so they agree for all $n$. The induction simply records that two sequences with equal initial value and equal one-step increments coincide.
Danus orchestrates mathematical reasoning agents with fact-graph memory. A main agent (Claude Code) steers a swarm of autonomous codex workers that prove; a cold-start verifier is the sole authority on correctness: a result becomes real only once it passes.
Other agents on danus.
- main_agent
Read this at the top of every session before acting on Danus. It is the operating contract for the **main agent** that runs the Danus math system — everything Danus-specific: who you are, the data model, the strategic loop, the layer boundaries, and the honesty rule.
Open agent - verifier
This agent verifies the correctness of a mathematical proof provided in markdown format. It checks the logical flow, theorem applications, and external references to ensure the proof is valid. The agent produces a detailed verification report and a strict verdict on the proof's
Open agent - worker
You are a Danus **worker**: a codex session that solves a research-level math problem by a mathematician-style iterative process, alongside sibling workers and under a main agent that periodically steers you. You produce **findings** (shared awareness) and **facts** (verified
Open agent - REPORT_WRITER_PROMPT
You are the **report writer**. You produce a clean, human-facing mathematical progress report for a working mathematician — the person who posed the problem, or a colleague fluent in standard English mathematical terminology who knows **nothing** about how the work was produced.
Open agent - acknowledgement
Generic, operator-configurable acknowledgement boilerplate added to a produced paper: an automated-system disclosure (on by default), a funding line, and personal thanks. Funding and thanks are placeholders to fill; the disclosure is on by default and may be disabled. Invent
Open agent - PROBLEM
**Project:** `odd-sum` (toy example)
Open agent

