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 skills add qurihara/scrapbox-cosense-mcp-editable --skill scrapboxgit clone --depth 1 https://github.com/qurihara/scrapbox-cosense-mcp-editableWrote 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/qurihara/scrapbox-cosense-mcp-editable/scrapbox)<a href="https://agentmods.dev/skills/qurihara/scrapbox-cosense-mcp-editable/scrapbox"><img src="https://agentmods.dev/badge/skills/qurihara/scrapbox-cosense-mcp-editable/scrapbox/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/qurihara/scrapbox-cosense-mcp-editable/scrapbox"><img src="https://agentmods.dev/badge/skills/qurihara/scrapbox-cosense-mcp-editable/scrapbox.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.00045 | $0.00596 |
| Opus 5 | $0.00023 | $0.00298 |
| Sonnet 5 | $0.00009 | $0.00119 |
| Haiku 4.5 | $0.00005 | $0.00060 |
Grade B, and why
cosense 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 10d 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
全プロジェクト共通で使う場合は `~/.claude/settings.json` に設定することもできます。 What it actually says
Cosense (Scrapbox)
Cosense ページの取得・検索・作成・編集。CLI 経由で実行。
コマンド
scrapbox-cosense-mcp get <title>— ページ取得scrapbox-cosense-mcp search <query>— キーワード検索scrapbox-cosense-mcp list [--sort=X --limit=N]— ページ一覧scrapbox-cosense-mcp create <title> [--body=TEXT]— ページ作成(markdown自動変換)scrapbox-cosense-mcp insert <title> --after=TEXT --text=TEXT— 行挿入scrapbox-cosense-mcp url <title>— URL生成scrapbox-cosense-mcp context <title> [--hop=1|2]— 関連ページ一括取得(Smart Context)
詳細は scrapbox-cosense-mcp <command> --help で確認。
全コマンド共通: --compact でトークン効率の高い出力、--project=NAME でプロジェクト指定、--json でJSON出力。
環境変数の設定
必要な環境変数
| 変数名 | 説明 | 必須 |
|---|---|---|
COSENSE_PROJECT_NAME |
対象プロジェクト名(--project で上書き可) |
はい |
COSENSE_SID |
セッションID(プライベートプロジェクト、create/insert/context 操作に必要) | 条件付き |
永続化方法
.claude/settings.local.json(gitignore対象)の env キーに追加してください。
{
"env": {
"COSENSE_PROJECT_NAME": "your-project-name",
"COSENSE_SID": "s:your-session-id"
}
}
全プロジェクト共通で使う場合は ~/.claude/settings.json に設定することもできます。
SID の取得方法
- ブラウザで Cosense にログイン
- 開発者ツール → Application → Cookies
connect.sidの値をコピー
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.
- 10d ago First seen · 55 lines · 45 tokens per session scan B ebf6b3d1d069
cosense is a skill published in the GitHub repository qurihara/scrapbox-cosense-mcp-editable (0 stars, last pushed 3mo ago), licensed MIT. It adds 45 tokens to every session and 596 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…