create-tool
Skill1 starsChanged 48 days agoMITView on GitHub
Create or repair Agent HQ capability tools in the Tools registry. Use when adding a new tool, fixing a broken tool record, updating a tool’s schema/permissions/tags, or preventing malformed tool payloads in Agent HQ. Especially useful when a user asks to create a tool for agents to use in the Capabilities tab.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- awaku7/agentclitheir own version, first seen Nov 2, 2026
- timohaa/scopewalker-mcptheir own version, first seen Oct 25, 2026
- VapiAI/skillstheir own version, first seen Sep 3, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- VapiAI/skills★ 69same name
- awaku7/agentcli★ 12same name
- timohaa/scopewalker-mcp★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository7 other files it gives its agents.
- atlas-agent-hq-adminSkill
- cover-agentSkill
- create-agentSkill
- create-projectSkill
- create-taskSkill
- task-routing-rulesSkill
- workflow-definitionsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. About 0 are common, 16 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈16
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Create Agent HQ tool records carefully.
- Distinctive: line 18
Read a few live tool records from the Agent HQ API before writing a new one.
- Distinctive: line 20
Use existing healthy tools as the schema reference, not memory.
- Distinctive: line 22
Always populate the required tool fields
- Distinctive: line 36
Do not double-encode either field
- Distinctive: line 37
Before writing, validate that:
- Distinctive: line 42
Prefer one atomic tool over a fragile multi-step operator sequence
- Distinctive: line 43
Keep destructive power narrow and explicit
- Distinctive: line 44
Add input validation inside the tool script, not only in the schema
- Distinctive: line 45
Add locking or idempotence when multiple agents could collide
- Distinctive: line 46
Prefer structured JSON success/error output when the tool will be consumed by agents
- Distinctive: line 48
After creating or updating the tool, verify it live
- Very specific: line 52
If the tool targets the Capabilities UI, confirm the returned shape would not break tags.map(...) style consumers
- Distinctive: line 56
Before creating or updating a tool, verify this checklist:
- Distinctive: line 70
When reporting back after creating/updating a tool, include:
- Distinctive: line 85
Always round-trip parse what you are about to send before writing it.
- Distinctive: line 94
avoid assuming environment variables exist unless you check them
- Very specific: line 98
If you need an example pattern or a live-safe checklist, read references/tool-payload-checklist.md.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Create Tool
Create Agent HQ tool records carefully. A malformed tool can break the Capabilities UI or leave agents with unsafe or unusable automation.
Workflow
- Resolve whether the request is for:
- a brand new tool
- an update to an existing tool
- a repair of a malformed tool record
- Inspect existing tool shape first
- Read a few live tool records from the Agent HQ API before writing a new one.
- Confirm the exact payload format expected by the registry.
- Use existing healthy tools as the schema reference, not memory.
- Always populate the required tool fields
nameslugdescriptionimplementation_typeimplementation_bodyinput_schemapermissionstagsenabled
- Serialize fields exactly the way Agent HQ expects
input_schemamust be stored as a JSON string representing an object schematagsmust be stored as a JSON string representing an array of strings- Do not double-encode either field
- Before writing, validate that:
json.loads(input_schema)returns an object/dictjson.loads(tags)returns an array/list
- Validate tool safety and usability
- Prefer one atomic tool over a fragile multi-step operator sequence
- Keep destructive power narrow and explicit
- Add input validation inside the tool script, not only in the schema
- Add locking or idempotence when multiple agents could collide
- Prefer structured JSON success/error output when the tool will be consumed by agents
- After creating or updating the tool, verify it live
- Fetch the created tool back from the API
- Confirm
input_schemaparses cleanly as an object - Confirm
tagsparses cleanly as an array - If the tool targets the Capabilities UI, confirm the returned shape would not break
tags.map(...)style consumers
Required payload checklist
Before creating or updating a tool, verify this checklist:
name: human-readable labelslug: stable lowercase identifier, snake_case or project-standard slugdescription: concise but specific purposeimplementation_type: one of the registry-supported valuesimplementation_body: the actual script/function handler bodyinput_schema: JSON string of a valid JSON Schema objectpermissions: correct execution scope (read_only,read_write,exec, etc.)tags: JSON string of string arrayenabled:1ortrueunless intentionally disabled
Output standard
When reporting back after creating/updating a tool, include:
- tool name
- slug
- whether it was created or updated
- whether
input_schemaround-trip validation passed - whether
tagsround-trip validation passed - any cautions before assigning it to agents
Common failure mode to avoid
The most common Agent HQ tool creation mistake is double-encoding:
- bad:
input_schemasaved as a JSON string of a JSON string - bad:
tagssaved as a JSON string of a JSON string - result: Capabilities UI can break with errors like
t.map is not a function
Always round-trip parse what you are about to send before writing it.
When a tool is script-based
For bash tools:
- use
set -euo pipefail - validate required inputs early
- return machine-readable JSON on failure when practical
- guard shared resources with a lock when collisions are possible
- avoid assuming environment variables exist unless you check them
Reference
If you need an example pattern or a live-safe checklist, read references/tool-payload-checklist.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

