Borrowing it
Nothing to install: this file belongs to benedya/octoquery. 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/benedya/octoquery/main/.agents/skills/blog-demo-db/SKILL.mdgit clone --depth 1 https://github.com/benedya/octoqueryWrote 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/skills/benedya/octoquery/blog-demo-db)<a href="https://agentmods.dev/skills/benedya/octoquery/blog-demo-db"><img src="https://agentmods.dev/badge/skills/benedya/octoquery/blog-demo-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/skills/benedya/octoquery/blog-demo-db"><img src="https://agentmods.dev/badge/skills/benedya/octoquery/blog-demo-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.00066 | $0.00452 |
| Opus 5.5 | $0.00026 | $0.00181 |
| Sonnet 5.5 | $0.00013 | $0.00090 |
| Haiku 4.5 | $0.00007 | $0.00045 |
Grade A, and why
blog-demo-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 2mo 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
Blog database
The database is exposed as the MCP tool sql_blog_demo. Answer questions by sending a single SQL query string (MySQL dialect) to that tool. Results come back as JSON rows, truncated to the configured row limit (default 100) — use LIMIT, aggregation, or ORDER BY to keep result sets small and relevant.
Schema
- authors —
id,email,full_name,joined_at - posts —
id,author_id→ authors,title,category(DevOps, Databases, Programming, Web),status(draft,published,archived),views,published_at(NULL for drafts) - comments —
id,post_id→ posts,commenter(free-text name, not a registered author),created_at,body
Relations
- One author has many posts (
posts.author_id→authors.id). - One post has many comments (
comments.post_id→posts.id). - Commenters are anonymous visitors —
comments.commenteris just a name and does not reference theauthorstable.
Conventions
- Only
publishedposts are publicly visible; excludedraftand usuallyarchivedposts from reader-facing metrics unless asked otherwise. viewsis a lifetime counter per post;published_atis NULL until a post is published.- Popularity questions can mean views (
posts.views) or engagement (comment counts) — pick from context or show both.
Guidelines
- Treat the database as read-only: stick to
SELECTunless the user explicitly asks to modify data. - Prefer one well-formed query over many small ones; use joins and aggregates server-side.
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.
- 2mo ago First seen · 32 lines · 66 tokens per session scan A e2e6107dd0e9
blog-demo-db is a skill published in the GitHub repository benedya/octoquery (3 stars, last pushed 3mo ago), licensed MIT. It adds 66 tokens to every session and 452 once invoked, about $0.0003 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-08-31.
blog-demo-db compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| blog-demo-dbbenedya/octoquery | Skill | 3 | 3mo ago | MIT | A | 66 | Claude Code, Codex |
| omh-relational-dbrlaope/oh-my-hermes | Skill | 5.2k | yesterday | MIT | A | 100 | Claude Code, Codex |
| redteam-sqli-detail-packNetw0rkNoob/VulnClaw | Skill | 3.9k | 8d ago | MIT | A | 59 | Claude Code, Codex |
| api-canvascyanheads/obsidian-mcp-server | Skill | 702 | 7d ago | Apache-2.0 | A | 85 | Claude Code |
| api-mirrorcyanheads/obsidian-mcp-server | Skill | 702 | 7d ago | Apache-2.0 | A | 68 | Claude Code |
| data-governanceWrongStack/WrongStack | Skill | 404 | yesterday | MIT | A | 92 | Claude Code, Codex |
| backup-recoveryWrongStack/WrongStack | Skill | 404 | yesterday | MIT | A | 87 | Claude Code, Codex |