This is the skill for designing the tool layer between deterministic code and non-deterministic agents. It covers writing tool descriptions that agents actually route on, designing schemas and error messages, MCP server design, and deciding when to consolidate or split tools. The core principle is consolidation: if you can't definitively say which tool applies in a situation, the agent won't either. The skill pushes toward fewer, more comprehensive tools rather than sprawling catalogs where agents pick wrong half the time. Use it when the unit of work is a single tool or tool set. It explicitly doesn't cover project architecture decisions or whether to use sub-agents, which route to other skills.

skills.sh installs
291
GitHub stars
18.3K
last updated
May 26, 2026

Install

$ npx -y skills add muratcankoylan/agent-skills-for-context-engineering --skill tool-design --agent claude-code

Installs into .claude/skills of the current project.

Files

Tool Design for Agents

Design every tool as a contract between a deterministic system and a non-deterministic agent. Unlike human-facing APIs, agent-facing tools must make the contract unambiguous through the description alone: agents infer intent from descriptions and generate calls that must match expected formats. Every ambiguity becomes a potential failure mode that no amount of prompt engineering can fix.

The unit of work for this skill is a single tool or a tool catalog. Project-shape, pipeline architecture, task-model-fit, and cost-at-the-project-level decisions belong to project-development. Deciding whether to introduce sub-agents belongs to multi-agent-patterns. This skill owns the interface layer that connects deterministic code to the agent.

When to Activate

Activate this skill when the unit of work is a tool:

Sponsors

Details

Repository
github.com/muratcankoylan/agent-skills-for-context-engineering
Categories
AI & Agent Building, Design & UI/UX
License
MIT
First seen
Jun 11, 2026

More from muratcankoylan/agent-skills-for-context-engineering

All 17
1oimiragieo avatarslack-notificationsoimiragieo/agent-studioSlack messaging, channels, and notifications - send messages, manage channels, interact with users, upload files, and add reactions. Use for team communication,288skills.sh installs
2davila7 avatarloki-modedavila7/claude-code-templatesMulti-agent autonomous startup system for Claude Code. Triggers on "Loki Mode". Orchestrates 100+ specialized agents across engineering, QA, DevOps, security, d284skills.sh installs
3nicepkg avatarremove-old-skills-from-workflownicepkg/ai-workflowGuide for removing skills from an existing workflow and updating all related documentation. Use when user wants to remove skills from a workflow (e.g., "remove 283skills.sh installs
4davila7 avatarcocoindexdavila7/claude-code-templatesComprehensive toolkit for developing with the CocoIndex library. Use when users need to create data transformation pipelines (flows), write custom functions, or281skills.sh installs
5tech-leads-club avatarbest-practicestech-leads-club/agent-skillsApply modern web development best practices for security, compatibility, and code quality. Use when asked to "apply best practices", "security audit", "moderniz276skills.sh installs
6salesforceairesearch avatardeveloping-agentforcesalesforceairesearch/agentforce-adlcBuild, modify, debug, and deploy agents with Agentforce Agent Script. TRIGGER when: user creates, modifies, or asks about .agent files or aiAuthoringBundle meta270skills.sh installs