Borrowing it
Nothing to install: this file belongs to quantmind/quantflow. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/quantmind/quantflow/main/.github/instructions/tutorial.instructions.mdgit clone --depth 1 https://github.com/quantmind/quantflowWrote 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/instructions/quantmind/quantflow/tutorial)<a href="https://agentmods.dev/instructions/quantmind/quantflow/tutorial"><img src="https://agentmods.dev/badge/instructions/quantmind/quantflow/tutorial/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/instructions/quantmind/quantflow/tutorial"><img src="https://agentmods.dev/badge/instructions/quantmind/quantflow/tutorial.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.01024 | $0.01024 |
| Opus 5.5 | $0.00410 | $0.00410 |
| Sonnet 5.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 2mo 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 — 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.
- 2mo ago 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 (58 stars, last pushed 2mo ago), licensed BSD-3-Clause. It adds 1,024 tokens to every session, about $0.0041 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.
quantflow-tutorial-instructions compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| quantflow-tutorial-instructionsquantmind/quantflow | Instructions file | 58 | 2mo ago | BSD-3-Clause | A | 1,024 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |