Agent skill
toolscript
Discover and execute MCP tools via gateway. Use when user asks to "call tool", "list tools", or before performing tasks that might have specialized MCP capabilities.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/toolscript
SKILL.md
Toolscript Skill
Discover and execute MCP tools through the toolscript gateway.
Use proactively: Before operations, search for specialized MCP tools.
Quick Start
# 1. Search for tools and get TypeScript code
toolscript search "what you need" --output types
# 2. Execute - single line
toolscript exec 'import {tools} from "toolscript"; console.log(await tools.server.toolName({param: "value"}))'
# 3. Execute - multi-line (use Write tool for /tmp/<filename>.ts)
toolscript exec -f /tmp/<filename>.ts
Toolscript Format
import { tools } from "toolscript";
const result = await tools.serverName.toolName({param: "value"});
console.log(result)
Alternative Workflows
- Direct access: Use
toolscript get-types --filter <tool-name>,<2nd-tool-name>if you know the tools - Browse discovery: Use
toolscript list-serversandtoolscript list-tools <server>
References
references/commands.md- All commands and optionsreferences/examples.md- Working examples and workflowsreferences/configuration.md- Gateway and server setupreferences/troubleshooting.md- Diagnostics and fixes
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?