Skip to main content

tools-md

Guide for the local tool notes of an OpenClaw agent — environment-specific tool notes, search priorities, device names, and local infrastructure details. On current releases these live in the `## Tools` section of AGENTS.md (the standalone TOOLS.md file is retired); older workspaces still carry TOOLS.md. Use this skill whenever the user is configuring which tools their agent should prefer, adding environment notes, documenting search tool priority orders, or setting up device/API references. Even questions like "which search tool should my agent use first", "how do I tell the agent about my devices", or "add tool notes" need this skill.

Source facts

Repository
Agents-Store/codex-plugins
Last source activity
November 1, 2026 at 02:46
Detected SKILL.md language
English
Stars
0
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
2 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
tools-md
description
Guide for the local tool notes of an OpenClaw agent — environment-specific tool notes, search priorities, device names, and local infrastructure details. On current releases these live in the `## Tools` section of AGENTS.md (the standalone TOOLS.md file is retired); older workspaces still carry TOOLS.md. Use this skill whenever the user is configuring which tools their agent should prefer, adding environment notes, documenting search tool priority orders, or setting up device/API references. Even questions like "which search tool should my agent use first", "how do I tell the agent about my devices", or "add tool notes" need this skill.
# Local Tool Notes Guide (TOOLS.md → AGENTS.md `## Tools`) Local tool notes are environment-specific notes about the tools available to the agent. They do NOT control tool access (that's in `openclaw.json`) — they provide guidance on HOW to use tools effectively in this specific environment. ## Where the notes live now The standalone `TOOLS.md` workspace file is **retired**. Current releases keep local tool and environment notes in the `## Tools` section of `AGENTS.md`, and skills continue to define how a tool works. Everything below applies to that section; on an older workspace that still has a `TOOLS.md`, apply it to that file. Migrating an older workspace: the doctor's repair mode archives `TOOLS.md`, merges customised content into `AGENTS.md` and removes the file. That mode rewrites what it does not understand, so in this plugin it is an R4 plan with a typed confirmation, not a routine step — read the plan first, and merge by hand when the file is small. Before relying on any of this, confirm the current behaviour with the `docs-research` skill (the template page for TOOLS.md says "retired"). ## Section Skeleton ```markdown ## Tools Use the relevant skill for tool procedures. Keep local notes here, separate from shared skills. ### Local notes (camera names, SSH hosts and users, preferred voices and speakers, device nicknames) ``` ## What Goes Here | Category | Examples | |----------|---------| | Search tool priorities | "Use Firecrawl for Ukrainian sites, EXA for English queries" | | Camera names/locations | "Front door camera: cam-01" | | SSH hosts and aliases | "Production: ssh <user>@<host>" (a placeholder here — real hosts stay in the operator's own notes, never in a shared repository) | | TTS preferences | "Use ElevenLabs voice 'Rachel' for notifications" | | Speaker/room names | "Living room speaker: sonos-living" | | Device nicknames | "Desk lamp = hue-light-3" | | API endpoints | Custom internal API URLs | | Database connections | Connection string references (not credentials!) | ## Why Separate from Skills? "Skills are shared. Your setup is yours." This separation enables: - Updating skills without losing environment notes - Sharing skills without exposing infrastructure - Different agents using same skills with different tool configs ## Search Tool Priority Template Data-driven tool priority based on session analysis: ```markdown ### Search Tools (priority order for [domain]) 1. **Firecrawl** — best for [language/region] sites. [X]% success rate. Use for: scraping full page content, crawling sites Command: `firecrawl search "query" --scrape --limit 5` 2. **Perplexity** — good for overview + synthesis. Use for: quick summaries, multi-source answers 3. **EXA** — best for English queries. NOTE: [X]% fail rate on [language] text. Workaround: translate queries to English first 4. **Deep Research** — for comprehensive analysis (combines multiple providers). Use for: research tasks requiring 3+ sources ``` ## Optimizing the Tool Notes from Session Data Analyze session logs to determine optimal tool configuration: 1. **Most used tools** — ensure they're documented with correct syntax 2. **Tools with high error rates** — add workarounds and alternatives 3. **Tools never used** — consider if they're needed, or if agent doesn't know about them 4. **Domain-specific tools** — add usage notes for specialized tools ## What Data Is Needed | Input | Source | What It Determines | |-------|--------|-------------------| | Installed skills | `ls workspace/skills/` + extraDirs | Available tools | | Skill SKILL.md files | Read each SKILL.md | Commands and syntax | | API endpoints | Client infrastructure | Custom URLs | | Search priority | Domain needs | Which tool first | | Tool performance | Session log analysis | Success/fail rates | | Custom scripts | workspace/scripts/ | CLI utilities | ## Signals from Sessions That Improve the Tool Notes - **Tool call fails repeatedly** → add workaround note - **Agent uses suboptimal tool** → add priority guidance - **New skill installed** → add usage notes - **Agent doesn't know about a tool** → document it - **Tool works differently than expected** → add clarification ## Best Practices 1. Lead with the most-used tools 2. Include success rates when available (from session analysis) 3. Add workarounds for known issues 4. Keep credentials out — reference env vars instead 5. Update when skills or infrastructure change 6. Group by function (search, media, communication, home automation)
View on GitHub