Borrowing it
Nothing to install: this file belongs to takeshy/obsidian-gemini-helper. 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/takeshy/obsidian-gemini-helper/master/.agents/skills/add-tool/SKILL.mdgit clone --depth 1 https://github.com/takeshy/obsidian-gemini-helperWrote 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/takeshy/obsidian-gemini-helper/add-tool)<a href="https://agentmods.dev/skills/takeshy/obsidian-gemini-helper/add-tool"><img src="https://agentmods.dev/badge/skills/takeshy/obsidian-gemini-helper/add-tool/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/takeshy/obsidian-gemini-helper/add-tool"><img src="https://agentmods.dev/badge/skills/takeshy/obsidian-gemini-helper/add-tool.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00032 | $0.00474 |
| Opus 5 | $0.00016 | $0.00237 |
| Sonnet 5 | $0.00006 | $0.00095 |
| Haiku 4.5 | $0.00003 | $0.00047 |
Grade A, and why
add-tool 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 12d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- add-tool — 100% identical, 0 lines differ
What it actually says
Add New Function Calling Tool
Add a new function calling tool called $ARGUMENTS to the Gemini chat integration.
Required File Changes
1. src/core/tools.ts
- Add
ToolDefinitionto the appropriate tools array (read/write/delete) - Define
name,description, andparametersschema - Property types:
STRING,BOOLEAN,INTEGER,ARRAY,OBJECT - Add to
getEnabledTools()logic if it needs conditional enabling
2. src/vault/toolExecutor.ts
- Add
caseinexecuteToolCall()switch for the new tool name - Implement the execution logic (typically calling methods from
notes.tsorsearch.ts)
3. src/vault/notes.ts or src/vault/search.ts (if needed)
- Add the underlying vault operation method if it doesn't exist yet
- Use
app.vaultfor file operations,app.workspacefor UI operations
4. System prompt in src/ui/components/Chat.tsx
- Update the system prompt to mention the new tool's capabilities
- This helps the model know when to use the tool
Tool Design Guidelines
- Safe editing: Use
propose_editpattern (apply changes, backup original, user confirms) - Read-only tools: Always enabled; add to read tools array
- Write tools: Gated by
allowWriteoption - Delete tools: Gated by
allowDeleteoption (opt-in) - Naming: Use
snake_case(e.g.,read_note,create_folder) - Results: Return structured objects; large results will be truncated to 500 chars in tracing
Verification
- Run
npm run lint - Run
npm run build - Verify the tool appears in enabled tools based on its category
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.
- 12d ago First seen · 47 lines · 32 tokens per session scan A c779b7a6d6c4
add-tool is a skill published in the GitHub repository takeshy/obsidian-gemini-helper (114 stars, last pushed today), licensed MIT. It adds 32 tokens to every session and 474 once invoked, about $0.0002 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-30.
Other skills, from other repositories
brainstorm
Multi-persona Round-Table mit domain-aware Personas (LLM wählt 4–6 themenspezifische Rollen); iterative Cross-Pollination bis TF-IDF-Konvergenz; Synthesizer ranked Top-N mit Pro/Contra.
dev-loop
Research → Execute → Dual-Review Loop (Code Quality + Issue Resolution) bis beide Reviews bestanden.
review-loop
Iterative code review — fix P1+P2 until clean, report P3 as an offer.
critical-review
Radical-honesty architectural review — questions code, methodology, design, and operational fitness.
security-audit
Security audit + fix — scans for hardcoded secrets, injection vectors, path traversal, input validation gaps, then implements all fixes.
research-qa
Deep Research + Fragen-Katalog vor Implementierungsbeginn.