toolfs-skill
БесплатноБез исполняемых скриптовНе проверенExecute WASM-based skills mounted to virtual paths. Use this skill when the user requests skill execution such as "Execute the RAG skill", "Run the analytics…
от IceWhaleTech★ 34 звезды на GitHubОб этом скилле
ToolFS Skill
Execute WASM-based skills mounted to virtual paths. Skills extend ToolFS functionality with custom handlers that can be mounted to specific paths and executed through the filesystem interface.
How It Works
- Skill Mounting: Skills are mounted to virtual paths like
/toolfs/<skill_name> - WASM Execution: Skills run in a sandboxed WASM environment with resource limits
- Request/Response: Skills receive JSON requests and return JSON responses
- Resource Isolation: Each skill execution is isolated with configurable limits
Usage
Execute Skill via Mounted Path
ToolFS Path:
/toolfs/<skill_mount_path>?text=<query>&<param>=<value>
Example:
GET /toolfs/rag/skill/search?text=AI%20agents&top_k=5
// Response
{
"success": true,
"result": {
"query": "AI agents",
"top_k": 5,
"results": [
{
"document": {
"id": "doc-1",
"content": "AI agents use tools to interact with their environment...",
"metadata": {}
},
"score": 0.92
}
],
"count": 1
},
"metadata": {
"skill_name": "rag-skill",
"skill_version": "1.0.0"
}
}
Execute Skill via Skill API
ToolFS Path:
POST /toolfs/skills/execute
Example:
POST /toolfs/skills/execute
Content-Type: application/json
{
"operations": [
{
"type": "execute_code_skill",
"skill_path": "/toolfs/rag",
"query": "vector database",
"skill_data": {
"top_k": 10
}
}
]
}
// Response
{
"results": [
{
"type": "code",
"source": "/toolfs/rag",
"content": "...",
"success": true,
"code": {
"name": "rag-skill",
"version": "1.0.0"
}
}
]
}
List Skills
ToolFS Path:
GET /toolfs/skills
Example:
GET /toolfs/skills
// Response
{
"skills": [
{
"name": "rag-skill",
"version": "1.0.0",
"mount_path": "/toolfs/rag",
"source": "wasm"
},
{
"name": "analytics-skill",
"version": "2.1.0",
"mount_path": "/toolfs/analytics",
"source": "injected"
}
]
}
Skill Request Format
Skills receive requests in JSON format:
{
"operation": "search",
"path": "/toolfs/rag/query?text=AI",
"data": {
"query": "AI agents",
"top_k": 5
}
}
Skill Response Format
Skills must return responses in JSON format:
{
"success": true,
"result": {
// Skill-specific result data
},
"error": "error message if failed"
}
When to Use This Skill
Use Skill skill when you need to:
- Extend Functionality: Use custom skills for specialized operations
- RAG Queries: Execute semantic search via RAG skills
- Data Processing: Run analytics or data transformation skills
- Custom Handlers: Access custom business logic via skills
Common use cases:
- "Execute the RAG skill to search documents"
- "Run the analytics skill on this data"
- "Call the skill at /toolfs/custom-handler"
- "List all available skills"
Skill Types
Skills can be:
- WASM Skills: Compiled WebAssembly modules for sandboxed execution
- Injected Skills: Native Go skills injected at runtime
- Mounted Skills: Skills mounted to specific virtual paths
Output Format
Skill operations return standardized result structures:
{
"type": "code",
"source": "/toolfs/<skill_path>",
"content": "skill result data",
"metadata": {
"skill_name": "...",
"skill_version": "..."
},
"success": true,
"code": {
"name": "rag-skill",
"version": "1.0.0",
"output": {}
},
"error": "error message if failed"
}
Present Results to User
When presenting skill execution results:
✓ Skill executed successfully
Skill: rag-skill v1.0.0
Path: /toolfs/rag/skill/search
Results:
- Found 1 document matching "AI agents"
- Score: 0.92
Document: doc-1
Content: AI agents use tools to interact with their environment...
Troubleshooting
Skill Not Found
If a skill execution fails:
- Verify the skill is mounted at the specified path
- Check skill metadata via
GET /toolfs/skills - Ensure the skill is properly loaded and initialized
- Verify the skill path is correct
Skill Execution Error
If skill execution fails:
- Check skill logs for detailed error messages
- Verify input parameters are correct
- Ensure skill has necessary resources (memory, time)
- Check if skill is compatible with current ToolFS version
WASM Sandbox Limits
If execution hits resource limits:
- Check skill resource configuration
- Verify skill doesn't exceed memory/time limits
- Optimize skill code for resource efficiency
- Adjust sandbox limits if appropriate
Best Practices
- Verify Skill Availability: Check skill list before execution
- Handle Errors: Always check
successfield in skill responses - Use Metadata: Leverage skill metadata for ver
Установить toolfs-skill в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл toolfs-skill?
Execute WASM-based skills mounted to virtual paths. Use this skill when the user requests skill execution such as "Execute the RAG skill", "Run the analytics skill", or "Call the skill at this path".
Как установить скилл toolfs-skill?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл toolfs-skill запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic