instructions

A guide to configuring the system instructions that tell an agent how to behave and what resources or tools it can use. It supports templates that insert files, web content, workspace details, and skill or server instructions.

In plain words
What is it for?
Use it to build agent prompts from local files, URLs, MCP server instructions, available skills, and workspace settings.
Why use it?
It gives you a consistent way to provide context and rules without manually copying the same information into every conversation.

Agent

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.

agentmods
npx agentmods add agents/evalstate/fast-agent/instructions
Clone the repo
git clone --depth 1 https://github.com/evalstate/fast-agent
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,684 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.01684
Opus 5 $0.00000 $0.00842
Sonnet 5 $0.00000 $0.00337
Haiku 4.5 $0.00000 $0.00168

Measured yesterday against content hash 1d4423906402, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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.

docs/docs/agents/instructions.md · 173 lines

How it starts

The opening of the file, as written. The whole thing — 173 lines — stays where its author put it; the contents beside it link to each section on GitHub.

System Prompts

Agents can have their System Instructions set and customised in a number of flexible ways. The default System Prompt caters for Agent Skills, MCP Server Instructions, AGENTS.md and Shell access.

Template Variables

The following variables are available in System Prompt templates:

Variable Description Notes
{{internal:resource_id}} Loads packaged internal markdown resources Example: {{internal:agent_cards}}
{{file:path}} Reads and embeds local file contents (errors if file missing) Must be a relative path (resolved relative to workspaceRoot)
{{file_silent:path}} Reads and embeds local file contents (empty if file missing) Must be a relative path (resolved relative to workspaceRoot)
{{url:https://...}} Fetches and embeds content from an HTTP(S) URL
{{url:hf://...}} Fetches and embeds text content from Hugging Face Hub
{{serverInstructions}} MCP server instructions with available tools Warning displayed in /mcp if Instructions are present and template variable missing
{{agentSkills}} Agent skill manifests with descriptions
{{workspaceRoot}} Current working directory / workspace root Set by Client in ACP Mode
{{agentName}} Current agent name
{{agentType}} Current agent type
{{agentCardPath}} Source AgentCard path (internal) when not loaded from a card
{{agentCardDir}} Directory containing the source AgentCard (internal) when not loaded from a card
{{modelReferences}} Model references Includes $system.default when one resolves. Useful for instructing CLI-based subagents
{{model_specific}} Model-specific prompt guidance from the resolved model catalog entry or model overlay Empty when the selected model has no model-specific guidance
{{hostPlatform}} Host platform information
{{pythonVer}} Python version
{{env}} Formatted environment block with all environment details
{{currentDate}} Current date in long format

Read the full file on GitHub · 173 lines

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. yesterday First seen · 173 lines · 0 tokens per session scan A 1d4423906402

Subscribe to this mod's changes

instructions is an agent published in the GitHub repository evalstate/fast-agent (3,904 stars, last pushed 2d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,684 tokens. 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

Other agents, from other repositories

agentlas-core-engine-meta-agent

Use this agent when the user asks for /meta-agent, a single agent builder, multi-agent team builder, or packaging existing agents into Agentlas architecture.

agentlas-ai/Agentlas-OS · 38 tokens

Explore

Fast read-only codebase & docs exploration. Returns structured findings, never raw file dumps.

BlackBeltTechnology/pi-agent-dashboard · 18 tokens

tech-lead

Technical lead agent – PR review/approval/merge, blocker resolution, and architecture/trade-off review aligned with Jira outcomes.

agents-universe/agents-universe · 25 tokens

unittest-generator

Use this agent when you need to create unit tests for your code in unittest.TestCase format, organized in a tests folder with concept-based subfolders. Examples: Context: User has just written a new authentication module and needs comprehensive unit tests. user: 'I just finished writing my user authentication…

Upsonic/Upsonic · 0 tokens

external-system-integration-expert

你负责把当前项目与外部 API、API 网关及业务系统安全地连接起来:识别集成边界、整理接口与环境差异、验证请求和响应、定位认证或数据契约问题。.

agents-universe/agents-universe · 33 tokens

DocScribe

Write docs/ prose for a completed change, in caveman style, per the repo's Documentation Update Protocol. Use after a change lands to update docs/architecture.md, docs/ .md, README, or docs/AGENTS.md — the Rule-6 delegation target (main agent must NOT edit docs/ directly). Self-contained — give it the diff + target…

BlackBeltTechnology/pi-agent-dashboard · 100 tokens