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 commands/paiml/rust-mcp-sdk/secretgit clone --depth 1 https://github.com/paiml/rust-mcp-sdkWrote 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/commands/paiml/rust-mcp-sdk/secret)<a href="https://agentmods.dev/commands/paiml/rust-mcp-sdk/secret"><img src="https://agentmods.dev/badge/commands/paiml/rust-mcp-sdk/secret.svg" alt="Measured on agentmods" 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 | $0.00000 | $0.01358 |
| Opus 5 | $0.00000 | $0.00679 |
| Sonnet 5 | $0.00000 | $0.00272 |
| Haiku 4.5 | $0.00000 | $0.00136 |
Grade A, and why
secret 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 4d 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 — 241 lines — stays where its author put it; the contents beside it link to each section on GitHub.
cargo pmcp secret
Manage secrets for MCP servers.
Usage
cargo pmcp secret <SUBCOMMAND> [OPTIONS]
Description
Store and retrieve secrets across multiple providers (local, pmcp.run, AWS). Secrets are namespaced by server ID to avoid conflicts.
Secret names follow the format {server-id}/{SECRET_NAME}, for example: chess/ANTHROPIC_API_KEY.
Global Options
These options apply to all subcommands:
| Option | Default | Description |
|---|---|---|
--target <PROVIDER> |
auto-detected | Target provider: pmcp, aws, local |
--profile <NAME> |
- | Profile from .pmcp/config.toml |
--server <ID> |
- | Server ID for namespacing secrets |
--format <FMT> |
text |
Output format: text or json |
--quiet |
- | Suppress non-essential output |
Auto-detection priority: pmcp.run auth > AWS credentials > local filesystem.
Subcommands
| Subcommand | Description |
|---|---|
list |
List secrets (names only, never values) |
get |
Get a secret value |
set |
Set a secret value |
delete |
Delete a secret |
providers |
Show provider status |
sync |
Sync secrets from configuration |
secret list
List secrets (names only, never values).
cargo pmcp secret list [OPTIONS]
Options
| Option | Description |
|---|---|
--filter <PATTERN> |
Filter by name pattern (glob syntax) |
--metadata |
Include metadata (creation date, version) |
Example
cargo pmcp secret list --server myserver
cargo pmcp secret list --server myserver --target pmcp --format json
secret get
Get a secret value.
cargo pmcp secret get <NAME> [OPTIONS]
Arguments
| Argument | Required | Description |
|---|---|---|
NAME |
Yes | Secret name (format: server-id/SECRET_NAME) |
Options
| Option | Description |
|---|---|
--output <PATH> |
Write to file instead of stdout |
--no-newline |
Omit trailing newline (for piping) |
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.
- 4d ago First seen · 241 lines · 0 tokens per session scan A 3d1df7d1e96c
secret is a command published in the GitHub repository paiml/rust-mcp-sdk (53 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,358 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.
Other commands, from other repositories
update-linear-schema
Update the Linear GraphQL schema and fix any resulting breakage.
OPSX: Verify
Verify implementation matches change artifacts before archiving.
OPSX: Continue
Continue working on a change - create the next artifact (Experimental).
new-op
Guide for adding a new variant to the Op enum (e.g. Op::Tag, Op::Link). Covers every place that needs to change.
mutation-test
Uses cargo-mutants to run mutation tests and verify test quality.
safe-build
Build the application for development or production.