@cleocode/cleo 2026.3.4 → 2026.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.js +2277 -609
- package/dist/cli/index.js.map +4 -4
- package/dist/mcp/index.js +1838 -443
- package/dist/mcp/index.js.map +4 -4
- package/package.json +1 -1
- package/packages/ct-skills/index.js +1 -1
- package/packages/ct-skills/package.json +0 -2
- package/packages/ct-skills/profiles/core.json +1 -1
- package/packages/ct-skills/profiles/full.json +4 -5
- package/packages/ct-skills/profiles/minimal.json +3 -3
- package/packages/ct-skills/profiles/recommended.json +2 -2
- package/packages/ct-skills/provider-skills-map.json +97 -0
- package/packages/ct-skills/skills/_shared/skill-chaining-patterns.md +23 -26
- package/packages/ct-skills/skills/_shared/testing-framework-config.md +9 -9
- package/packages/ct-skills/skills/ct-cleo/SKILL.md +21 -1
- package/packages/ct-skills/skills/ct-dev-workflow/SKILL.md +1 -1
- package/packages/ct-skills/skills/ct-documentor/SKILL.md +1 -1
- package/packages/ct-skills/skills/ct-epic-architect/SKILL.md +1 -1
- package/packages/ct-skills/skills/ct-orchestrator/SKILL.md +119 -43
- package/packages/ct-skills/skills/ct-orchestrator/orchestrator-prompt.txt +17 -0
- package/packages/ct-skills/skills/ct-orchestrator/references/orchestrator-patterns.md +1 -1
- package/packages/ct-skills/skills/ct-research-agent/SKILL.md +1 -1
- package/packages/ct-skills/skills/ct-spec-writer/SKILL.md +1 -1
- package/packages/ct-skills/skills/ct-task-executor/SKILL.md +1 -1
- package/packages/ct-skills/skills/ct-validator/SKILL.md +1 -1
- package/packages/ct-skills/skills/manifest.json +217 -947
- package/packages/ct-skills/skills.json +244 -3
- package/templates/CLEO-INJECTION.md +24 -0
- package/packages/ct-skills/protocols/agent-protocol.md +0 -260
- package/packages/ct-skills/protocols/artifact-publish.md +0 -587
- package/packages/ct-skills/protocols/consensus.md +0 -309
- package/packages/ct-skills/protocols/contribution.md +0 -375
- package/packages/ct-skills/protocols/decomposition.md +0 -352
- package/packages/ct-skills/protocols/implementation.md +0 -344
- package/packages/ct-skills/protocols/provenance.md +0 -600
- package/packages/ct-skills/protocols/release.md +0 -635
- package/packages/ct-skills/protocols/research.md +0 -248
- package/packages/ct-skills/protocols/specification.md +0 -287
- package/packages/ct-skills/protocols/testing.md +0 -346
- package/packages/ct-skills/protocols/validation.md +0 -229
- package/packages/ct-skills/skills/ct-gitbook/SKILL.md +0 -516
- package/packages/ct-skills/skills/ct-gitbook/assets/SUMMARY.md +0 -28
- package/packages/ct-skills/skills/ct-gitbook/assets/gitbook.yaml +0 -14
- package/packages/ct-skills/skills/ct-gitbook/references/api-sdk.md +0 -318
- package/packages/ct-skills/skills/ct-gitbook/references/auth-sso.md +0 -208
- package/packages/ct-skills/skills/ct-gitbook/references/change-requests.md +0 -169
- package/packages/ct-skills/skills/ct-gitbook/references/content-blocks.md +0 -230
- package/packages/ct-skills/skills/ct-gitbook/references/docs-sites.md +0 -202
- package/packages/ct-skills/skills/ct-gitbook/references/git-sync.md +0 -175
- package/packages/ct-skills/skills/ct-gitbook/references/llm-ready.md +0 -178
- package/packages/ct-skills/skills/ct-gitbook/references/migration.md +0 -263
- package/packages/ct-skills/skills/ct-library-implementer-bash/SKILL.md +0 -316
- package/packages/ct-skills/skills/ct-skill-lookup/SKILL.md +0 -179
- package/packages/ct-skills/skills/ct-test-writer-bats/SKILL.md +0 -347
- package/packages/ct-skills/skills/railway-platform/SKILL.md +0 -506
- package/packages/ct-skills/skills/railway-platform/_shared/scripts/railway-api.sh +0 -180
- package/packages/ct-skills/skills/railway-platform/_shared/scripts/railway-common.sh +0 -262
- package/packages/ct-skills/skills/railway-platform/references/01-getting-started.md +0 -149
- package/packages/ct-skills/skills/railway-platform/references/02-projects.md +0 -116
- package/packages/ct-skills/skills/railway-platform/references/03-services.md +0 -147
- package/packages/ct-skills/skills/railway-platform/references/04-deployments.md +0 -210
- package/packages/ct-skills/skills/railway-platform/references/05-databases.md +0 -142
- package/packages/ct-skills/skills/railway-platform/references/06-environments.md +0 -261
- package/packages/ct-skills/skills/railway-platform/references/07-domains.md +0 -139
- package/packages/ct-skills/skills/railway-platform/references/08-volumes.md +0 -533
- package/packages/ct-skills/skills/railway-platform/references/09-networking.md +0 -592
- package/packages/ct-skills/skills/railway-platform/references/10-cron.md +0 -488
- package/packages/ct-skills/skills/railway-platform/references/11-functions.md +0 -170
- package/packages/ct-skills/skills/railway-platform/references/12-monorepo.md +0 -294
- package/packages/ct-skills/skills/railway-platform/references/13-troubleshooting.md +0 -335
- package/packages/ct-skills/skills/railway-platform/references/14-railway-metal.md +0 -197
|
@@ -1,316 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ct-library-implementer-bash
|
|
3
|
-
description: Bash library development with focus on creating well-structured lib/*.sh files following shell best practices. Implements reusable functions, utility modules, and shared helpers with proper documentation, error handling, and dependency management. Use when creating new lib/ modules, implementing shared functions, or adding utility libraries. Triggers on library implementation tasks, bash module creation, or utility function needs.
|
|
4
|
-
version: 2.0.0
|
|
5
|
-
tier: 2
|
|
6
|
-
core: false
|
|
7
|
-
category: specialist
|
|
8
|
-
protocol: implementation
|
|
9
|
-
dependencies: []
|
|
10
|
-
sharedResources:
|
|
11
|
-
- subagent-protocol-base
|
|
12
|
-
- task-system-integration
|
|
13
|
-
compatibility:
|
|
14
|
-
- claude-code
|
|
15
|
-
- cursor
|
|
16
|
-
- windsurf
|
|
17
|
-
- gemini-cli
|
|
18
|
-
license: MIT
|
|
19
|
-
---
|
|
20
|
-
|
|
21
|
-
# Library Implementer (Bash) Context Injection
|
|
22
|
-
|
|
23
|
-
**Protocol**: @protocols/implementation.md
|
|
24
|
-
**Type**: Context Injection (cleo-subagent)
|
|
25
|
-
**Version**: 2.0.0
|
|
26
|
-
|
|
27
|
-
---
|
|
28
|
-
|
|
29
|
-
## Purpose
|
|
30
|
-
|
|
31
|
-
Context injection for Bash library implementation tasks spawned via cleo-subagent. Provides domain expertise for creating well-structured bash library files with reusable functions following shell best practices.
|
|
32
|
-
|
|
33
|
-
---
|
|
34
|
-
|
|
35
|
-
## Capabilities
|
|
36
|
-
|
|
37
|
-
1. **Function Libraries** - Create lib/*.sh files with related functions
|
|
38
|
-
2. **Utility Functions** - Implement shared helper functions
|
|
39
|
-
3. **Module Design** - Organize functions into cohesive modules
|
|
40
|
-
4. **Documentation** - Document function signatures and usage
|
|
41
|
-
|
|
42
|
-
---
|
|
43
|
-
|
|
44
|
-
## Bash Library Architecture
|
|
45
|
-
|
|
46
|
-
### Directory Structure
|
|
47
|
-
|
|
48
|
-
```
|
|
49
|
-
lib/
|
|
50
|
-
├── exit-codes.sh # Exit code constants
|
|
51
|
-
├── output-format.sh # JSON/human output formatting
|
|
52
|
-
├── validation.sh # Input validation functions
|
|
53
|
-
├── file-ops.sh # Atomic file operations
|
|
54
|
-
├── logging.sh # Audit trail logging
|
|
55
|
-
├── config.sh # Configuration management
|
|
56
|
-
└── {new-module}.sh # Your new library
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
### Library Template
|
|
60
|
-
|
|
61
|
-
```bash
|
|
62
|
-
#!/usr/bin/env bash
|
|
63
|
-
# lib/{module-name}.sh - Brief description of module purpose
|
|
64
|
-
#
|
|
65
|
-
# Functions:
|
|
66
|
-
# function_name() - Brief description
|
|
67
|
-
# another_function() - Brief description
|
|
68
|
-
|
|
69
|
-
# Guard against multiple sourcing
|
|
70
|
-
[[ -n "${_MODULE_NAME_LOADED:-}" ]] && return 0
|
|
71
|
-
readonly _MODULE_NAME_LOADED=1
|
|
72
|
-
|
|
73
|
-
# Dependencies (source other libs if needed)
|
|
74
|
-
# source "${LIB_DIR:-./lib}/dependency.sh"
|
|
75
|
-
|
|
76
|
-
# ==============================================================================
|
|
77
|
-
# CONSTANTS
|
|
78
|
-
# ==============================================================================
|
|
79
|
-
|
|
80
|
-
readonly MODULE_CONSTANT="value"
|
|
81
|
-
|
|
82
|
-
# ==============================================================================
|
|
83
|
-
# FUNCTIONS
|
|
84
|
-
# ==============================================================================
|
|
85
|
-
|
|
86
|
-
# Brief description of what this function does
|
|
87
|
-
#
|
|
88
|
-
# Arguments:
|
|
89
|
-
# $1 - arg_name: Description
|
|
90
|
-
# $2 - arg_name: Description (optional, default: value)
|
|
91
|
-
#
|
|
92
|
-
# Returns:
|
|
93
|
-
# 0 on success, non-zero on failure
|
|
94
|
-
#
|
|
95
|
-
# Output:
|
|
96
|
-
# Writes result to stdout (JSON or text)
|
|
97
|
-
#
|
|
98
|
-
# Example:
|
|
99
|
-
# result=$(function_name "arg1" "arg2")
|
|
100
|
-
#
|
|
101
|
-
function_name() {
|
|
102
|
-
local arg1="$1"
|
|
103
|
-
local arg2="${2:-default}"
|
|
104
|
-
|
|
105
|
-
# Implementation
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
# Another function with similar documentation
|
|
109
|
-
another_function() {
|
|
110
|
-
local input="$1"
|
|
111
|
-
|
|
112
|
-
# Implementation
|
|
113
|
-
}
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
---
|
|
117
|
-
|
|
118
|
-
## Function Design Guidelines
|
|
119
|
-
|
|
120
|
-
### Naming Conventions
|
|
121
|
-
|
|
122
|
-
```bash
|
|
123
|
-
# Public functions: lowercase_with_underscores
|
|
124
|
-
get_task_by_id()
|
|
125
|
-
validate_json_schema()
|
|
126
|
-
|
|
127
|
-
# Private/internal functions: prefix with underscore
|
|
128
|
-
_internal_helper()
|
|
129
|
-
_parse_config()
|
|
130
|
-
|
|
131
|
-
# Module-specific prefix for clarity
|
|
132
|
-
rm_get_entry() # research-manifest module
|
|
133
|
-
orc_build_prompt() # orchestrator module
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
### Input Validation
|
|
137
|
-
|
|
138
|
-
```bash
|
|
139
|
-
function_name() {
|
|
140
|
-
local required_arg="$1"
|
|
141
|
-
local optional_arg="${2:-default}"
|
|
142
|
-
|
|
143
|
-
# Validate required arguments
|
|
144
|
-
if [[ -z "$required_arg" ]]; then
|
|
145
|
-
echo "ERROR: required_arg is required" >&2
|
|
146
|
-
return 1
|
|
147
|
-
fi
|
|
148
|
-
|
|
149
|
-
# Implementation
|
|
150
|
-
}
|
|
151
|
-
```
|
|
152
|
-
|
|
153
|
-
### Error Handling
|
|
154
|
-
|
|
155
|
-
```bash
|
|
156
|
-
function_name() {
|
|
157
|
-
local file="$1"
|
|
158
|
-
|
|
159
|
-
# Check preconditions
|
|
160
|
-
if [[ ! -f "$file" ]]; then
|
|
161
|
-
echo "ERROR: File not found: $file" >&2
|
|
162
|
-
return "${EXIT_FILE_ERROR:-4}"
|
|
163
|
-
fi
|
|
164
|
-
|
|
165
|
-
# Use set -e locally if needed
|
|
166
|
-
local result
|
|
167
|
-
if ! result=$(risky_operation 2>&1); then
|
|
168
|
-
echo "ERROR: Operation failed: $result" >&2
|
|
169
|
-
return 1
|
|
170
|
-
fi
|
|
171
|
-
|
|
172
|
-
echo "$result"
|
|
173
|
-
}
|
|
174
|
-
```
|
|
175
|
-
|
|
176
|
-
### JSON Output
|
|
177
|
-
|
|
178
|
-
```bash
|
|
179
|
-
# Functions that produce output should support JSON
|
|
180
|
-
get_data() {
|
|
181
|
-
local id="$1"
|
|
182
|
-
local format="${2:-json}"
|
|
183
|
-
|
|
184
|
-
local data
|
|
185
|
-
data=$(fetch_data "$id")
|
|
186
|
-
|
|
187
|
-
if [[ "$format" == "json" ]]; then
|
|
188
|
-
jq -nc --arg id "$id" --arg data "$data" \
|
|
189
|
-
'{"id": $id, "data": $data}'
|
|
190
|
-
else
|
|
191
|
-
echo "ID: $id"
|
|
192
|
-
echo "Data: $data"
|
|
193
|
-
fi
|
|
194
|
-
}
|
|
195
|
-
```
|
|
196
|
-
|
|
197
|
-
---
|
|
198
|
-
|
|
199
|
-
## Module Organization
|
|
200
|
-
|
|
201
|
-
### Single Responsibility
|
|
202
|
-
|
|
203
|
-
Each library should have ONE clear purpose:
|
|
204
|
-
|
|
205
|
-
```bash
|
|
206
|
-
# GOOD: lib/research-manifest.sh
|
|
207
|
-
# - All functions related to research manifest operations
|
|
208
|
-
|
|
209
|
-
# BAD: lib/utils.sh
|
|
210
|
-
# - Grab bag of unrelated functions
|
|
211
|
-
```
|
|
212
|
-
|
|
213
|
-
### Dependency Management
|
|
214
|
-
|
|
215
|
-
```bash
|
|
216
|
-
# At top of file, source dependencies
|
|
217
|
-
source "${LIB_DIR:-./lib}/exit-codes.sh"
|
|
218
|
-
source "${LIB_DIR:-./lib}/output-format.sh"
|
|
219
|
-
|
|
220
|
-
# Or check for required functions
|
|
221
|
-
if ! declare -f required_function &>/dev/null; then
|
|
222
|
-
echo "ERROR: required_function not available" >&2
|
|
223
|
-
return 1
|
|
224
|
-
fi
|
|
225
|
-
```
|
|
226
|
-
|
|
227
|
-
### Avoid Circular Dependencies
|
|
228
|
-
|
|
229
|
-
```
|
|
230
|
-
Layer 0: exit-codes.sh (no deps)
|
|
231
|
-
Layer 1: output-format.sh (deps: exit-codes)
|
|
232
|
-
Layer 2: validation.sh (deps: exit-codes, output-format)
|
|
233
|
-
Layer 3: Your module (deps: layers 0-2)
|
|
234
|
-
```
|
|
235
|
-
|
|
236
|
-
---
|
|
237
|
-
|
|
238
|
-
## Testing Library Functions
|
|
239
|
-
|
|
240
|
-
```bash
|
|
241
|
-
# In tests/unit/{module}.bats
|
|
242
|
-
|
|
243
|
-
@test "function_name returns expected result" {
|
|
244
|
-
source lib/{module}.sh
|
|
245
|
-
|
|
246
|
-
result=$(function_name "input")
|
|
247
|
-
|
|
248
|
-
assert_equal "$result" "expected"
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
@test "function_name handles missing input" {
|
|
252
|
-
source lib/{module}.sh
|
|
253
|
-
|
|
254
|
-
run function_name ""
|
|
255
|
-
|
|
256
|
-
assert_failure
|
|
257
|
-
assert_output --partial "required"
|
|
258
|
-
}
|
|
259
|
-
```
|
|
260
|
-
|
|
261
|
-
---
|
|
262
|
-
|
|
263
|
-
## Output Location
|
|
264
|
-
|
|
265
|
-
Libraries go in: `lib/{{MODULE_NAME}}.sh`
|
|
266
|
-
|
|
267
|
-
---
|
|
268
|
-
|
|
269
|
-
## Task System Integration
|
|
270
|
-
|
|
271
|
-
@skills/_shared/task-system-integration.md
|
|
272
|
-
|
|
273
|
-
### Execution Sequence
|
|
274
|
-
|
|
275
|
-
1. Read task: `{{TASK_SHOW_CMD}} {{TASK_ID}}`
|
|
276
|
-
2. Start task: `{{TASK_START_CMD}} {{TASK_ID}}` (if not already started by orchestrator)
|
|
277
|
-
3. Create library file in lib/
|
|
278
|
-
4. Verify syntax: `bash -n lib/{module}.sh`
|
|
279
|
-
5. Append manifest entry to `{{MANIFEST_PATH}}`
|
|
280
|
-
6. Complete task: `{{TASK_COMPLETE_CMD}} {{TASK_ID}}`
|
|
281
|
-
7. Return summary message
|
|
282
|
-
|
|
283
|
-
---
|
|
284
|
-
|
|
285
|
-
## Subagent Protocol
|
|
286
|
-
|
|
287
|
-
@skills/_shared/subagent-protocol-base.md
|
|
288
|
-
|
|
289
|
-
### Output Requirements
|
|
290
|
-
|
|
291
|
-
1. MUST create library file in lib/
|
|
292
|
-
2. MUST verify syntax: `bash -n lib/{module}.sh`
|
|
293
|
-
3. MUST append ONE line to: `{{MANIFEST_PATH}}`
|
|
294
|
-
4. MUST return ONLY: "Implementation complete. See MANIFEST.jsonl for summary."
|
|
295
|
-
5. MUST NOT return full library content in response
|
|
296
|
-
|
|
297
|
-
### Manifest Entry Format
|
|
298
|
-
|
|
299
|
-
```json
|
|
300
|
-
{"id":"lib-{{MODULE}}-{{DATE}}","file":"{{DATE}}_lib-{{MODULE}}.md","title":"Library: {{MODULE}}","date":"{{DATE}}","status":"complete","agent_type":"implementation","topics":["library","bash","{{DOMAIN}}"],"key_findings":["Created lib/{{MODULE}}.sh with N functions","Functions: function1, function2, function3","Dependencies: list or 'none'","Syntax check passed"],"actionable":false,"needs_followup":["{{TEST_TASK_IDS}}"],"linked_tasks":["{{TASK_ID}}"]}
|
|
301
|
-
```
|
|
302
|
-
|
|
303
|
-
---
|
|
304
|
-
|
|
305
|
-
## Completion Checklist
|
|
306
|
-
|
|
307
|
-
- [ ] Task started via `{{TASK_START_CMD}}` (if not already started)
|
|
308
|
-
- [ ] Library file created in lib/
|
|
309
|
-
- [ ] Guard against multiple sourcing included
|
|
310
|
-
- [ ] Functions documented with signatures
|
|
311
|
-
- [ ] Input validation implemented
|
|
312
|
-
- [ ] Error handling with proper exit codes
|
|
313
|
-
- [ ] Syntax check passed (`bash -n`)
|
|
314
|
-
- [ ] Manifest entry appended
|
|
315
|
-
- [ ] Task completed via `{{TASK_COMPLETE_CMD}}`
|
|
316
|
-
- [ ] Return summary message only
|
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ct-skill-lookup
|
|
3
|
-
description: This skill should be used when the user asks to "find me a skill", "search for skills", "what skills are available", "get skill XYZ", "install a skill", "extend Claude's capabilities with skills", or mentions Agent Skills, prompts.chat, SkillsMP, marketplace, external skills, or reusable AI agent components.
|
|
4
|
-
version: 1.1.0
|
|
5
|
-
tier: 3
|
|
6
|
-
core: false
|
|
7
|
-
category: meta
|
|
8
|
-
protocol: null
|
|
9
|
-
dependencies: []
|
|
10
|
-
sharedResources: []
|
|
11
|
-
compatibility:
|
|
12
|
-
- claude-code
|
|
13
|
-
- cursor
|
|
14
|
-
- windsurf
|
|
15
|
-
- gemini-cli
|
|
16
|
-
license: MIT
|
|
17
|
-
---
|
|
18
|
-
|
|
19
|
-
When the user needs Agent Skills, wants to extend Claude's capabilities, or is looking for reusable AI agent components, you have two sources available:
|
|
20
|
-
|
|
21
|
-
1. **prompts.chat MCP server** - Agent Skills marketplace (when available)
|
|
22
|
-
2. **SkillsMP** - CLEO's built-in skill marketplace integration
|
|
23
|
-
|
|
24
|
-
## When to Use This Skill
|
|
25
|
-
|
|
26
|
-
Activate this skill when the user:
|
|
27
|
-
|
|
28
|
-
- Asks for Agent Skills ("Find me a code review skill")
|
|
29
|
-
- Wants to search for skills ("What skills are available for testing?")
|
|
30
|
-
- Needs to retrieve a specific skill ("Get skill XYZ")
|
|
31
|
-
- Wants to install a skill ("Install the documentation skill")
|
|
32
|
-
- Mentions extending Claude's capabilities with skills
|
|
33
|
-
- Mentions marketplace, SkillsMP, or external skills
|
|
34
|
-
|
|
35
|
-
## Available Tools
|
|
36
|
-
|
|
37
|
-
### prompts.chat MCP Tools (when available)
|
|
38
|
-
|
|
39
|
-
- `search_skills` - Search for skills by keyword
|
|
40
|
-
- `get_skill` - Get a specific skill by ID with all its files
|
|
41
|
-
|
|
42
|
-
### CLEO SkillsMP (built-in)
|
|
43
|
-
|
|
44
|
-
Use `cleo skills` commands to search and retrieve skills:
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
cleo skills search <query> [--source skillsmp] # Search SkillsMP marketplace
|
|
48
|
-
cleo skills get <id> --source skillsmp # Get skill from marketplace
|
|
49
|
-
cleo skills install <id> --source skillsmp # Install from marketplace
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
## How to Search for Skills
|
|
53
|
-
|
|
54
|
-
### Using prompts.chat MCP
|
|
55
|
-
|
|
56
|
-
Call `search_skills` with:
|
|
57
|
-
|
|
58
|
-
- `query`: The search keywords from the user's request
|
|
59
|
-
- `limit`: Number of results (default 10, max 50)
|
|
60
|
-
- `category`: Filter by category slug (e.g., "coding", "automation")
|
|
61
|
-
- `tag`: Filter by tag slug
|
|
62
|
-
|
|
63
|
-
Present results showing:
|
|
64
|
-
- Title and description
|
|
65
|
-
- Author name
|
|
66
|
-
- File list (SKILL.md, reference docs, scripts)
|
|
67
|
-
- Category and tags
|
|
68
|
-
- Link to the skill
|
|
69
|
-
|
|
70
|
-
### Using SkillsMP
|
|
71
|
-
|
|
72
|
-
Execute `cleo skills search` with:
|
|
73
|
-
|
|
74
|
-
```bash
|
|
75
|
-
cleo skills search "code review" --source skillsmp
|
|
76
|
-
cleo skills search "testing" --source skillsmp --limit 20
|
|
77
|
-
```
|
|
78
|
-
|
|
79
|
-
Results include:
|
|
80
|
-
- Skill ID, name, and description
|
|
81
|
-
- Version and compatibility
|
|
82
|
-
- Author and license
|
|
83
|
-
- Installation status (local/marketplace)
|
|
84
|
-
|
|
85
|
-
## How to Get a Skill
|
|
86
|
-
|
|
87
|
-
### Using prompts.chat MCP
|
|
88
|
-
|
|
89
|
-
Call `get_skill` with:
|
|
90
|
-
|
|
91
|
-
- `id`: The skill ID
|
|
92
|
-
|
|
93
|
-
Returns the skill metadata and all file contents:
|
|
94
|
-
- SKILL.md (main instructions)
|
|
95
|
-
- Reference documentation
|
|
96
|
-
- Helper scripts
|
|
97
|
-
- Configuration files
|
|
98
|
-
|
|
99
|
-
### Using SkillsMP
|
|
100
|
-
|
|
101
|
-
Execute `cleo skills get`:
|
|
102
|
-
|
|
103
|
-
```bash
|
|
104
|
-
cleo skills get ct-code-reviewer --source skillsmp
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
Returns full skill content including metadata and files.
|
|
108
|
-
|
|
109
|
-
## How to Install a Skill
|
|
110
|
-
|
|
111
|
-
### Using prompts.chat MCP
|
|
112
|
-
|
|
113
|
-
When the user asks to install a skill:
|
|
114
|
-
|
|
115
|
-
1. Call `get_skill` to retrieve all files
|
|
116
|
-
2. Create the directory `.claude/skills/{slug}/`
|
|
117
|
-
3. Save each file to the appropriate location:
|
|
118
|
-
- `SKILL.md` → `.claude/skills/{slug}/SKILL.md`
|
|
119
|
-
- Other files → `.claude/skills/{slug}/{filename}`
|
|
120
|
-
|
|
121
|
-
### Using SkillsMP
|
|
122
|
-
|
|
123
|
-
Execute `cleo skills install`:
|
|
124
|
-
|
|
125
|
-
```bash
|
|
126
|
-
cleo skills install ct-code-reviewer --source skillsmp
|
|
127
|
-
cleo skills install ct-testing-assistant --source skillsmp --force
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
The command automatically:
|
|
131
|
-
- Downloads skill files from marketplace
|
|
132
|
-
- Validates skill structure
|
|
133
|
-
- Installs to `skills/{slug}/`
|
|
134
|
-
- Updates skill registry
|
|
135
|
-
|
|
136
|
-
## Skill Structure
|
|
137
|
-
|
|
138
|
-
Skills contain:
|
|
139
|
-
- **SKILL.md** (required) - Main instructions with frontmatter
|
|
140
|
-
- **Reference docs** - Additional documentation files
|
|
141
|
-
- **Scripts** - Helper scripts (Python, shell, etc.)
|
|
142
|
-
- **Config files** - JSON, YAML configurations
|
|
143
|
-
|
|
144
|
-
## Guidelines
|
|
145
|
-
|
|
146
|
-
- Always search before suggesting the user create their own skill
|
|
147
|
-
- Try SkillsMP first (`cleo skills search`), then prompts.chat MCP if available
|
|
148
|
-
- Present search results in a readable format with file counts
|
|
149
|
-
- When installing, confirm the skill was saved successfully
|
|
150
|
-
- Explain what the skill does and when it activates
|
|
151
|
-
|
|
152
|
-
## Examples
|
|
153
|
-
|
|
154
|
-
### Searching SkillsMP
|
|
155
|
-
|
|
156
|
-
```bash
|
|
157
|
-
# Find code review skills
|
|
158
|
-
cleo skills search "code review" --source skillsmp
|
|
159
|
-
|
|
160
|
-
# Find testing-related skills
|
|
161
|
-
cleo skills search "test" --source skillsmp --limit 10
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
### Getting Skill Details
|
|
165
|
-
|
|
166
|
-
```bash
|
|
167
|
-
# Get full skill information
|
|
168
|
-
cleo skills get ct-code-reviewer --source skillsmp
|
|
169
|
-
```
|
|
170
|
-
|
|
171
|
-
### Installing from Marketplace
|
|
172
|
-
|
|
173
|
-
```bash
|
|
174
|
-
# Install a skill from SkillsMP
|
|
175
|
-
cleo skills install ct-code-reviewer --source skillsmp
|
|
176
|
-
|
|
177
|
-
# Force reinstall (overwrite existing)
|
|
178
|
-
cleo skills install ct-code-reviewer --source skillsmp --force
|
|
179
|
-
```
|