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.
git clone --depth 1 https://github.com/SatoruoGojoo/octopusWrote 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/satoruogojoo/octopus/db)<a href="https://agentmods.dev/commands/satoruogojoo/octopus/db"><img src="https://agentmods.dev/badge/commands/satoruogojoo/octopus/db/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/commands/satoruogojoo/octopus/db"><img src="https://agentmods.dev/badge/commands/satoruogojoo/octopus/db.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.00028 | $0.00208 |
| Opus 5 | $0.00014 | $0.00104 |
| Sonnet 5 | $0.00006 | $0.00042 |
| Haiku 4.5 | $0.00003 | $0.00021 |
Grade A, and why
db 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 8d 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.
What it actually says
使用 Agent 工具啟動 dba agent(Octopus 資料庫專家)回答以下問題。
把問題原文與當前工作目錄完整轉給它。提醒事項一併轉達:
- 若問題涉及本專案實際結構,它必須先讀實際 schema/migration 檔再回答
- 若使用者已指定 DB 種類,只答該 DB;未指定則列三方言差異
- 它不連實體資料庫;給出的 SQL/DDL 為建議稿
它回覆後,將其答案完整轉述給使用者,保留來源標註與方言標示。
問題:$ARGUMENTS
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.
- 8d ago First seen · 16 lines · 28 tokens per session scan A 085526ab8489
db is a command published in the GitHub repository SatoruoGojoo/octopus (2 stars, last pushed 7d ago), licensed MIT. It adds 28 tokens to every session and 208 once invoked, about $0.0001 per session on Opus 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-31.
Other commands, from other repositories
psql-query
Run ad-hoc PostgreSQL analytics queries against dev/test database.
cap-setup-wizard
Interactive guide for setting up new CAP projects with framework and database selection.
new-entity
Scaffold a new database entity end-to-end: migration SQL, repository, service, DTO, controller, and tests.
db-context-postgres
Validate that a generic Postgres database (GCP Cloud SQL, GKE Autopilot, self-hosted, etc.) is reachable via psql or pgdump, introspect a user-scoped subset of the schema (extensions, tables, columns, indexes, foreign keys, and optionally RLS policies and functions), and persist the result as DBCONTEXT.md inside the…
db-context-supabase
Validate that a Supabase MCP server is reachable, introspect a user-scoped subset of the database (tables, columns, types, RLS policies, optionally functions and recent migrations), and persist the result as DBCONTEXT.md inside the active task folder; adds a single.
refactor-stack
Coordinated architecture refactor — change database, cloud provider, or framework with full SDL consistency.