Borrowing it
Nothing to install: this file belongs to crustyhacker/pi-jarvis. 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/crustyhacker/pi-jarvis/main/AGENTS.mdgit clone --depth 1 https://github.com/crustyhacker/pi-jarvisWrote 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/crustyhacker/pi-jarvis/agents-md)<a href="https://agentmods.dev/instructions/crustyhacker/pi-jarvis/agents-md"><img src="https://agentmods.dev/badge/instructions/crustyhacker/pi-jarvis/agents-md/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/crustyhacker/pi-jarvis/agents-md"><img src="https://agentmods.dev/badge/instructions/crustyhacker/pi-jarvis/agents-md.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.07602 | $0.07602 |
| Opus 5.5 | $0.03041 | $0.03041 |
| Sonnet 5.5 | $0.01520 | $0.01520 |
| Haiku 4.5 | $0.00760 | $0.00760 |
Grade A, and why
pi-jarvis AGENTS.md 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 25d 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 — 137 lines — stays where its author put it; the contents beside it link to each section on GitHub.
pi-jarvis Agent Notes
Project Scope
pi-jarvisis a Pi extension that opens a/jarvisside-conversation overlay.- Core runtime files:
index.ts,side-session.ts,native-mcp.ts,overlay.ts,overlay-layout.ts,draft-editor.ts,transcript-viewport.ts,jarvis-branding.ts,model-picker.ts,jarvis-config.ts,session-ref.ts,memory-{types,config,content,store,service,extension,editor-types,editor,editor-controller}.ts, andarchive-{types,config,store,service,extension,import,crypto,sqlite,keychain,unlock,secret-input,vault-files,vault,migration}.ts. - Current baseline: Pi 1.0.0 (
@earendil-workspackages), Node.js >=22.19.0. Older Pi hosts are not supported.
Current /jarvis-model and /jarvis-thinking Behavior
/jarvisrequiresctx.mode === "tui"; other modes must not boot or prompt a hidden side session./jarvis-modelwith no request opens a searchable host-registry model picker in TUI mode; other modes report status./jarvis-model <provider/model>writes a project-scoped override to.pi/jarvis.json./jarvis-model --global <provider/model>writes the default global override to the active Pi agent directory'sextensions/pi-jarvis.json(by default~/.pi/agent/extensions/pi-jarvis.json)./jarvis-model [--project|--global] follow-mainstores a scopedfollow-mainoverride./jarvis-model [--project|--global] clearremoves that scope's override so fallback applies./jarvis-thinking [--project|--global] auto|follow-main|off|minimal|low|medium|high|xhigh|maxstores a scoped thinking override without changing the main session thinking level./jarvis-thinking [--project|--global] clearremoves that scope's thinking override so fallback applies.- Resolution order is: project config, then global config, then built-in defaults (
follow-mainfor model,autofor thinking). Global writes never override an active project setting. - Config writes use atomic same-directory replacement. Malformed shared JSON requires manual repair: model/thinking set/clear must never replace/delete it and reset unknown memory privacy controls. Keep I/O errors distinct and parser input snippets out of UI errors. Legacy model/thinking cross-process writes remain unlocked.
autothinking follows main only when/jarvisfollows the main model; pinned/jarvismodels default to thinkingoff.follow-mainthinking follows the main thinking level regardless of model selection, except xAI/jarvismodels force thinkingoff./compact,/tree, and/newentered inside/jarvisoperate on the isolated/jarvisside-session, not the main Pi session.Note mainandRedirectstay disabled when the active/jarvismodel is incompatible with bridge tools.- Published packages keep Pi runtime packages as optional peers, not bundled dependencies. Never load the legacy MCP adapter. Version 1.6.0 adds native MCP to Repo tools opt-in alongside read/bash/edit/write.
- Physical models delegate to the host's public registry for auth and dispatch. Virtual/router models explicitly reject; do not access the registry's private backing runtime.
- Side resources/settings honor
ctx.isProjectTrusted(). Local tool execution and bridge delivery recheck live permissions. Ordinary overlay close hides presentation without stopping assigned work or clearing its three grants; cancel pending confirmations and refuse new invisible reviews. Grants are in-memory, scoped to the current main/side owner, not saved across restart/reload. Explicit access-off, observed trust denial, side/new, reference/main replacement and teardown revoke them. Archive private-input preparation explicitly revokes transient grants before closing/yielding. - Use
agent_settled, notagent_end, for final idle state. Main context must honor Pi context-edit/compaction projection. - Runtime disposal must not detach the overlay's bridge subscription. Queue ownership must survive side
/newbut not main-session replacement; failed/uncertain sends are not auto-retried.
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.
- 25d ago Changed · +9 lines · +807 tokens per session dcc152681cf9
- 26d ago First seen · 128 lines · 6,795 tokens per session scan A 9d2f5e240baf
pi-jarvis AGENTS.md is an instructions file published in the GitHub repository crustyhacker/pi-jarvis (21 stars, last pushed 26d ago), licensed MIT. It adds 7,602 tokens to every session, about $0.0304 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-10-11.
pi-jarvis AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pi-jarvis AGENTS.mdcrustyhacker/pi-jarvis | Instructions file | 21 | 26d ago | MIT | A | 7,602 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | 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 |