Borrowing it
Nothing to install: this file belongs to beydemirfurkan/todox. 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/beydemirfurkan/todox/main/.claude/skills/add-rpc-method/SKILL.mdgit clone --depth 1 https://github.com/beydemirfurkan/todoxWrote 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/beydemirfurkan/todox/add-rpc-method)<a href="https://agentmods.dev/skills/beydemirfurkan/todox/add-rpc-method"><img src="https://agentmods.dev/badge/skills/beydemirfurkan/todox/add-rpc-method/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/beydemirfurkan/todox/add-rpc-method"><img src="https://agentmods.dev/badge/skills/beydemirfurkan/todox/add-rpc-method.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.00048 | $0.01054 |
| Opus 5.5 | $0.00019 | $0.00422 |
| Sonnet 5.5 | $0.00010 | $0.00211 |
| Haiku 4.5 | $0.00005 | $0.00105 |
Grade A, and why
add-rpc-method 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.
How it starts
The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Adding an RPC method
Every agent-facing capability is the same six-file change. The order matters: the schema is the contract, and the handler will not compile without it.
1. Schema — lib/services/rpc-schemas.ts
Add the parameter shape to SHAPES. This is the runtime contract and the MCP
tool surface: mcp/server.ts imports the same object, so a tool cannot
advertise an argument the server rejects.
.describe()text is read by a model deciding whether to call the tool. Write it for that reader, not for a human skimming types.- Objects are built
.strict()inOBJECTS, so unknown keys are an error rather than something a repository has to defend against. - If the method is a patch, add a
.refine()next toupdateTask/updateProjectrequiring at least one field. A patch of nothing used to return the unchanged row, which reads to an agent exactly like a success. - Fields a local process can fill in itself (
repo_root,tz) go in the schema and are hidden from the model only in local mode (LOCAL_INTERNALinmcp/tools.ts). Hosted, nobody but the agent knows them, so they are advertised and the.describe()text has to tell it what to send.
2. Handler — lib/services/rpc.ts
Add it to methods. The object is satisfies Record<MethodName, …> and
MethodName comes from the keys of SHAPES, so a handler without a schema is a
compile error — that is the guardrail, keep it.
The handler signature is TypeScript and is erased at build time. It guards nothing. Validation happened in step 1.
3. Where the work lives
- One table → a repository in
lib/repositories/. - More than one table, or anything that must stay consistent across tables (a
status change writing a
task_eventsrow) →lib/services/. - Repositories never call each other.
- Ownership is asserted in exactly one place:
lib/services/ownership.ts. Do not inlineWHERE user_id = ?at the call site. A row belonging to somebody else answers 404, never 403.
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 · 93 lines · 48 tokens per session scan A db75743ceb91
add-rpc-method is a skill published in the GitHub repository beydemirfurkan/todox (2 stars, last pushed 16d ago), licensed MIT. It adds 48 tokens to every session and 1,054 once invoked, about $0.0002 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.
add-rpc-method compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| add-rpc-methodbeydemirfurkan/todox | Skill | 2 | 16d ago | MIT | A | 48 | Claude Code |
| trigger-authoring-taskstriggerdotdev/trigger.dev | Skill | 17k | 3d ago | Apache-2.0 | A | 115 | Claude Code, Codex |
| design-mcp-servercyanheads/obsidian-mcp-server | Skill | 702 | 6d ago | Apache-2.0 | A | 62 | Claude Code |
| api-telemetrycyanheads/obsidian-mcp-server | Skill | 702 | 6d ago | Apache-2.0 | A | 85 | Claude Code |
| system-design-reviewHoangNguyen0403/agent-skills-standard | Skill | 583 | today | MIT | A | 55 | Claude Code, Codex |
| system-design-data-architectureHoangNguyen0403/agent-skills-standard | Skill | 583 | today | MIT | A | 60 | Claude Code, Codex |
| system-design-case-catalogHoangNguyen0403/agent-skills-standard | Skill | 583 | today | MIT | A | 58 | Claude Code, Codex |