بنقرة واحدة
skill-creator
Create new skills for ChatDock
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create new skills for ChatDock
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Interact with GitHub repositories using the GitHub API
Summarize or extract text/transcripts from URLs, podcasts, and local files.
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
Get weather information and forecasts using wttr.in
استنادا إلى تصنيف SOC المهني
| name | skill-creator |
| description | Create new skills for ChatDock |
| emoji | 🛠️ |
This skill helps you create new skills for ChatDock.
Skills are markdown-based instructions that extend the agent's capabilities. Unlike tools (which are code), skills are natural language instructions that guide the agent on how to accomplish specific tasks.
Each skill lives in its own directory under ~/.chatdock/skills/ (user skills) or src/server/skills/ (built-in skills).
Required file: SKILL.md
---
name: my-skill
description: Short description of what this skill does
emoji: 🎯
requires:
bins: ["required-cli-tool"] # Optional: CLI tools needed
os: ["darwin", "linux"] # Optional: Supported OS
---
# Skill Name
Instructions for the agent on how to use this skill.
## When to use
Describe trigger phrases and scenarios.
## How to use
Provide step-by-step instructions, commands, and examples.
Skill names should be:
# User skill (persists across updates)
mkdir -p ~/.chatdock/skills/my-skill
# Or built-in skill (requires code access)
mkdir -p src/server/skills/my-skill
cat > ~/.chatdock/skills/my-skill/SKILL.md << 'EOF'
---
name: my-skill
description: What this skill does
emoji: 🎯
---
# My Skill
Instructions here...
EOF
Restart ChatDock or ask the agent to reload skills. Then try using the skill with a trigger phrase.
Skills should be minimal but complete. Avoid unnecessary verbosity.
Always include concrete examples with actual commands.
Clearly state when the agent should use this skill.
Include guidance for common error scenarios.
mkdir -p ~/.chatdock/skills/docker
cat > ~/.chatdock/skills/docker/SKILL.md << 'EOF'
---
name: docker
description: Manage Docker containers and images
emoji: 🐳
requires:
bins: ["docker"]
---
# Docker Skill
Use this skill for Docker container and image management.
## When to use
- "list my containers"
- "start/stop container X"
- "build docker image"
- "show docker logs"
## Common Commands
```bash
# List running containers
docker ps
# List all containers
docker ps -a
# Start a container
docker start <container-id>
# Stop a container
docker stop <container-id>
# View logs
docker logs -f <container-id>
# Build an image
docker build -t <name>:<tag> .
# Run a container
docker run -d --name <name> -p 8080:80 <image>
# Remove stopped containers
docker container prune
# Remove unused images
docker image prune
# Remove everything unused
docker system prune -a
EOF
## Skill Discovery
ChatDock looks for skills in:
1. `~/.chatdock/skills/` (user skills, higher priority)
2. `src/server/skills/` (built-in skills)
Skills are loaded at startup. To reload skills, restart the server.
## Tips
- Put more specific skills before general ones
- Use YAML frontmatter for metadata
- Include both quick-start and detailed usage
- Reference other skills if they complement each other