instructions

A command that prints the current instructions and available server list for agents using a running 1MCP service. A server here is a connected service that provides tools.

In plain words
What is it for?
Use it at the start of a CLI workflow to view the playbook, server summaries, detailed server information, and any per-server instructions.
Why use it?
It gives an agent current guidance and a compact inventory before it chooses which service or tool to examine.

Command

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 commands/1mcp-app/agent/instructions
Clone the repo
git clone --depth 1 https://github.com/1mcp-app/agent
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 862 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00027 $0.00862
Opus 5 $0.00014 $0.00431
Sonnet 5 $0.00005 $0.00172
Haiku 4.5 $0.00003 $0.00086

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

Security

Grade B, and why

instructions scanned grade B with 1 finding 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.

Asks the agent to reveal its instructionsmediumSystem prompt leakage

Directions to print, repeat or translate the system prompt extract configuration the operator did not intend to expose.

### Show Instructions for a Filtered Server Set
docs/en/commands/instructions.md · 113 lines

How it starts

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

Instructions Command

Show CLI-mode instructions for AI agents using a running 1MCP serve instance.

Synopsis

npx -y @1mcp/agent instructions [options]

Description

The instructions command is the entrypoint for CLI-mode agent workflows. It prints:

  • A fixed playbook telling the agent to use inspect before run
  • A server summary section
  • A server details section
  • Per-server instruction blocks when the server provides them

Use this command first when an agent or terminal session needs current guidance from the running 1MCP instance.

In practice, instructions is what replaces a large direct-MCP starting surface in the agent loop. Instead of expecting the agent to carry every available tool and schema up front, 1MCP gives it a compact playbook plus the current inventory, then tells it to narrow further with inspect.

Output Structure

The output is designed to be agent-readable and includes:

  • === PLAYBOOK === - The required CLI workflow
  • === SERVER SUMMARY === - One compact record per server
  • === SERVER DETAILS === - Detailed records including instructions or availability notes

Each server entry includes metadata such as:

  • Server name
  • Server type
  • Connection status
  • Availability
  • Tool count
  • Whether instructions are available

Options

  • --url, -u <url> - Override auto-detected 1MCP server URL
  • --context <name> - Use a named Runtime Target Context and its saved bearer token, if any
  • --preset, -p <name> - Use a preset when querying the running server
  • --tag-filter, -f <expression> - Apply an advanced tag filter expression
  • --tags <tag> - Apply simple comma-separated tags

Examples

Show the Full CLI Playbook

npx -y @1mcp/agent instructions

Show Instructions for a Filtered Server Set

npx -y @1mcp/agent instructions --tags backend

Use a Saved Preset

npx -y @1mcp/agent instructions --preset development

Use a Runtime Target Context

Read the full file on GitHub · 113 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 · 113 lines · 27 tokens per session scan B fb3b1c5ca50c

Subscribe to this mod's changes

instructions is a command published in the GitHub repository 1mcp-app/agent (494 stars, last pushed 3d ago), licensed Apache-2.0. It adds 27 tokens to every session and 862 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (asks the agent to reveal its instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.