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 instructions/quantmind/quantflow/tutorialgit clone --depth 1 https://github.com/quantmind/quantflowWhat 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.01024 | $0.01024 |
| Opus 5 | $0.00512 | $0.00512 |
| Sonnet 5 | $0.00205 | $0.00205 |
| Haiku 4.5 | $0.00102 | $0.00102 |
Grade A, and why
quantflow-tutorial-instructions 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 yesterday.
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 — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Tutorial Instructions
File locations
- Tutorial pages:
docs/tutorials/<name>.md - Example scripts:
docs/examples/<name>.py - Generated images:
docs/assets/examples/<name>.png - Script stdout captured to:
docs/examples/output/<name>.out - Every new tutorial must be added to the
navsection ofmkdocs.ymlunderTutorials. - Update
docs/tutorials/index.mdwith a row in the summary table.
Building
- Build a single example:
uv run python docs/examples/<name>.py - Build all examples and capture output:
make docs-examples - Preview the docs locally:
uv run mkdocs serve
Tutorial page structure
Each tutorial markdown file should follow this order:
- H1 title — the subject, not "Tutorial on X".
- One-paragraph introduction — what the tutorial demonstrates and why it is useful.
Link to the relevant API classes using
[ClassName][fully.qualified.path]. - Sections (H2) — cover the concept first, then show usage, then show results. Use H3 subsections for variants (different parameter regimes, maturities, etc.).
- Code section — always the last H2. Embed the full example script with:
If the script prints structured output, embed it too:```python --8<-- "docs/examples/<name>.py" `````` --8<-- "docs/examples/output/<name>.out" ```
Example scripts
- Each script must be self-contained and runnable with
uv run python docs/examples/<name>.py. - Place shared helpers in
docs/examples/_utils.py— do not duplicate utility code. - Use
assets_path(filename)from_utils.pyto get the correct path when saving images. - Use
plotlyfor all charts. Save to PNG withfig.write_image(assets_path(...), width=900, height=500). Usewidth=1600, height=800for side-by-side subplot layouts. - When overlaying an analytical curve with a numerical result (e.g. PDF from characteristic
function), plot the analytical result as a solid line and the numerical result as circle
markers (
mode="markers", marker=dict(symbol="circle")). This makes the discretization points visible and the two series easy to distinguish. - Do not
printraw numbers — emit only what belongs in the captured.outfile. - Scripts must produce no warnings when run cleanly (fix the root cause, e.g. avoid
x=0in domains where the PDF is singular). - The
build_exampleshelper in_utils.pyruns every non-underscore script and captures stdout; keep scripts idempotent and deterministic.
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.
- yesterday First seen · 97 lines · 1,024 tokens per session scan A 3dee76d2207c
quantflow-tutorial-instructions is an instructions file published in the GitHub repository quantmind/quantflow (52 stars, last pushed 15d ago), licensed BSD-3-Clause. It adds 1,024 tokens to every session, about $0.0051 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 instructions, from other repositories
n8n-skills CLAUDE.md
Instructions for czlonkowski/n8n-skills, covering claude.md, project overview, repository structure, the 14 skills and 1. n8n expression syntax.
Tutorial_AwesomeModernCPP AGENTS.md
Instructions for Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP, covering agents.md, 这是什么, 通用 essentials(所有 agent 必读) and 你来做什么?(按场景路由).
fix-quera AGENTS.md
Instructions for AlirezaKeshavarz83/fix-quera, covering agent guidance, project shape, visual style, quera page data findings and compatibility findings.
ab900 CLAUDE.md
Instructions for timothywarner-org/ab900, covering claude.md, repository purpose, architecture, commands and 2. non-ascii punctuation -- must return zero.
agentconfig.org AGENTS.md
Instructions for agentconfig/agentconfig.org, covering agent instructions for agentconfig.org, project overview, target audience, site structure and tech stack.
deckforge CLAUDE.md
Instructions for Whatsonyourmind/deckforge, covering deckforge, tech stack, project structure, key commands and local development.