@fortressllm/sybil 0.0.3
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/.env copy +91 -0
- package/.env.example +139 -0
- package/BROWSER_CONTROL.md +354 -0
- package/CLI_CHAT_FEATURE.md +224 -0
- package/CLI_GUIDE.md +359 -0
- package/DYNAMIC_SKILLS.md +345 -0
- package/DockerFile.sandbox +14 -0
- package/PROGRESS.md +249 -0
- package/README.md +281 -0
- package/RENAME_LOG.md +62 -0
- package/SIMPLIFIED_TELEGRAM_UX.md +273 -0
- package/SYBIL_SUMMARY.md +360 -0
- package/TASK11_NETWORK.md +202 -0
- package/TASK14_CLI.md +432 -0
- package/TASK8_SAFETY.md +317 -0
- package/TASK9_COMPLETION.md +186 -0
- package/TASK9_SUMMARY.md +201 -0
- package/TELEGRAM_OTP_AUTH.md +359 -0
- package/VECTOR_MEMORY.md +163 -0
- package/assets/logo.png +0 -0
- package/cypfq_code_search.md +287 -0
- package/cypfq_driver_search.md +297 -0
- package/cypfq_github_search.md +297 -0
- package/cypfq_repo_search.md +370 -0
- package/dist/agents/autonomous-agent.d.ts +61 -0
- package/dist/agents/autonomous-agent.d.ts.map +1 -0
- package/dist/agents/autonomous-agent.js +536 -0
- package/dist/agents/autonomous-agent.js.map +1 -0
- package/dist/agents/network.d.ts +1006 -0
- package/dist/agents/network.d.ts.map +1 -0
- package/dist/agents/network.js +1266 -0
- package/dist/agents/network.js.map +1 -0
- package/dist/cli/commands/backup.d.ts +3 -0
- package/dist/cli/commands/backup.d.ts.map +1 -0
- package/dist/cli/commands/backup.js +63 -0
- package/dist/cli/commands/backup.js.map +1 -0
- package/dist/cli/commands/config.d.ts +3 -0
- package/dist/cli/commands/config.d.ts.map +1 -0
- package/dist/cli/commands/config.js +163 -0
- package/dist/cli/commands/config.js.map +1 -0
- package/dist/cli/commands/doctor.d.ts +3 -0
- package/dist/cli/commands/doctor.d.ts.map +1 -0
- package/dist/cli/commands/doctor.js +107 -0
- package/dist/cli/commands/doctor.js.map +1 -0
- package/dist/cli/commands/init.d.ts +3 -0
- package/dist/cli/commands/init.d.ts.map +1 -0
- package/dist/cli/commands/init.js +138 -0
- package/dist/cli/commands/init.js.map +1 -0
- package/dist/cli/commands/logs.d.ts +3 -0
- package/dist/cli/commands/logs.d.ts.map +1 -0
- package/dist/cli/commands/logs.js +81 -0
- package/dist/cli/commands/logs.js.map +1 -0
- package/dist/cli/commands/otp.d.ts +3 -0
- package/dist/cli/commands/otp.d.ts.map +1 -0
- package/dist/cli/commands/otp.js +142 -0
- package/dist/cli/commands/otp.js.map +1 -0
- package/dist/cli/commands/restore.d.ts +3 -0
- package/dist/cli/commands/restore.d.ts.map +1 -0
- package/dist/cli/commands/restore.js +99 -0
- package/dist/cli/commands/restore.js.map +1 -0
- package/dist/cli/commands/start.d.ts +3 -0
- package/dist/cli/commands/start.d.ts.map +1 -0
- package/dist/cli/commands/start.js +65 -0
- package/dist/cli/commands/start.js.map +1 -0
- package/dist/cli/commands/status.d.ts +3 -0
- package/dist/cli/commands/status.d.ts.map +1 -0
- package/dist/cli/commands/status.js +68 -0
- package/dist/cli/commands/status.js.map +1 -0
- package/dist/cli/commands/stop.d.ts +3 -0
- package/dist/cli/commands/stop.d.ts.map +1 -0
- package/dist/cli/commands/stop.js +62 -0
- package/dist/cli/commands/stop.js.map +1 -0
- package/dist/cli/commands/update.d.ts +3 -0
- package/dist/cli/commands/update.d.ts.map +1 -0
- package/dist/cli/commands/update.js +49 -0
- package/dist/cli/commands/update.js.map +1 -0
- package/dist/cli/commands/whatsapp.d.ts +3 -0
- package/dist/cli/commands/whatsapp.d.ts.map +1 -0
- package/dist/cli/commands/whatsapp.js +281 -0
- package/dist/cli/commands/whatsapp.js.map +1 -0
- package/dist/cli/index.d.ts +7 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +58 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli.d.ts +9 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +750 -0
- package/dist/cli.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +109 -0
- package/dist/index.js.map +1 -0
- package/dist/mastra/index.d.ts +4 -0
- package/dist/mastra/index.d.ts.map +1 -0
- package/dist/mastra/index.js +37 -0
- package/dist/mastra/index.js.map +1 -0
- package/dist/mastra/memory.d.ts +9 -0
- package/dist/mastra/memory.d.ts.map +1 -0
- package/dist/mastra/memory.js +92 -0
- package/dist/mastra/memory.js.map +1 -0
- package/dist/processors/index.d.ts +74 -0
- package/dist/processors/index.d.ts.map +1 -0
- package/dist/processors/index.js +153 -0
- package/dist/processors/index.js.map +1 -0
- package/dist/processors/semantic-recall.d.ts +63 -0
- package/dist/processors/semantic-recall.d.ts.map +1 -0
- package/dist/processors/semantic-recall.js +216 -0
- package/dist/processors/semantic-recall.js.map +1 -0
- package/dist/processors/tool-search.d.ts +26 -0
- package/dist/processors/tool-search.d.ts.map +1 -0
- package/dist/processors/tool-search.js +41 -0
- package/dist/processors/tool-search.js.map +1 -0
- package/dist/skills/dynamic/skill-generator.d.ts +169 -0
- package/dist/skills/dynamic/skill-generator.d.ts.map +1 -0
- package/dist/skills/dynamic/skill-generator.js +488 -0
- package/dist/skills/dynamic/skill-generator.js.map +1 -0
- package/dist/tools/agent-delegation-tools.d.ts +142 -0
- package/dist/tools/agent-delegation-tools.d.ts.map +1 -0
- package/dist/tools/agent-delegation-tools.js +263 -0
- package/dist/tools/agent-delegation-tools.js.map +1 -0
- package/dist/tools/browser-tools.d.ts +374 -0
- package/dist/tools/browser-tools.d.ts.map +1 -0
- package/dist/tools/browser-tools.js +752 -0
- package/dist/tools/browser-tools.js.map +1 -0
- package/dist/tools/dynamic/registry.d.ts +61 -0
- package/dist/tools/dynamic/registry.d.ts.map +1 -0
- package/dist/tools/dynamic/registry.js +121 -0
- package/dist/tools/dynamic/registry.js.map +1 -0
- package/dist/tools/dynamic/tool-generator.d.ts +99 -0
- package/dist/tools/dynamic/tool-generator.d.ts.map +1 -0
- package/dist/tools/dynamic/tool-generator.js +367 -0
- package/dist/tools/dynamic/tool-generator.js.map +1 -0
- package/dist/tools/extended-tools.d.ts +176 -0
- package/dist/tools/extended-tools.d.ts.map +1 -0
- package/dist/tools/extended-tools.js +464 -0
- package/dist/tools/extended-tools.js.map +1 -0
- package/dist/tools/library/calendar/index.d.ts +134 -0
- package/dist/tools/library/calendar/index.d.ts.map +1 -0
- package/dist/tools/library/calendar/index.js +160 -0
- package/dist/tools/library/calendar/index.js.map +1 -0
- package/dist/tools/podman-workspace-mcp-cli.d.ts +3 -0
- package/dist/tools/podman-workspace-mcp-cli.d.ts.map +1 -0
- package/dist/tools/podman-workspace-mcp-cli.js +12 -0
- package/dist/tools/podman-workspace-mcp-cli.js.map +1 -0
- package/dist/tools/podman-workspace-mcp.d.ts +247 -0
- package/dist/tools/podman-workspace-mcp.d.ts.map +1 -0
- package/dist/tools/podman-workspace-mcp.js +1093 -0
- package/dist/tools/podman-workspace-mcp.js.map +1 -0
- package/dist/tools/podman-workspace.d.ts +148 -0
- package/dist/tools/podman-workspace.d.ts.map +1 -0
- package/dist/tools/podman-workspace.js +682 -0
- package/dist/tools/podman-workspace.js.map +1 -0
- package/dist/tools/telegram-file-tools.d.ts +78 -0
- package/dist/tools/telegram-file-tools.d.ts.map +1 -0
- package/dist/tools/telegram-file-tools.js +294 -0
- package/dist/tools/telegram-file-tools.js.map +1 -0
- package/dist/tools/tool-registry.d.ts +467 -0
- package/dist/tools/tool-registry.d.ts.map +1 -0
- package/dist/tools/tool-registry.js +156 -0
- package/dist/tools/tool-registry.js.map +1 -0
- package/dist/tools/web-tools.d.ts +77 -0
- package/dist/tools/web-tools.d.ts.map +1 -0
- package/dist/tools/web-tools.js +416 -0
- package/dist/tools/web-tools.js.map +1 -0
- package/dist/tools/whatsapp-autoreply-tools.d.ts +118 -0
- package/dist/tools/whatsapp-autoreply-tools.d.ts.map +1 -0
- package/dist/tools/whatsapp-autoreply-tools.js +503 -0
- package/dist/tools/whatsapp-autoreply-tools.js.map +1 -0
- package/dist/tools/whatsapp-tools.d.ts +175 -0
- package/dist/tools/whatsapp-tools.d.ts.map +1 -0
- package/dist/tools/whatsapp-tools.js +566 -0
- package/dist/tools/whatsapp-tools.js.map +1 -0
- package/dist/utils/logger.d.ts +65 -0
- package/dist/utils/logger.d.ts.map +1 -0
- package/dist/utils/logger.js +307 -0
- package/dist/utils/logger.js.map +1 -0
- package/dist/utils/model-config.d.ts +73 -0
- package/dist/utils/model-config.d.ts.map +1 -0
- package/dist/utils/model-config.js +366 -0
- package/dist/utils/model-config.js.map +1 -0
- package/dist/utils/semantic-memory.d.ts +82 -0
- package/dist/utils/semantic-memory.d.ts.map +1 -0
- package/dist/utils/semantic-memory.js +189 -0
- package/dist/utils/semantic-memory.js.map +1 -0
- package/dist/utils/system.d.ts +2 -0
- package/dist/utils/system.d.ts.map +1 -0
- package/dist/utils/system.js +24 -0
- package/dist/utils/system.js.map +1 -0
- package/dist/utils/telegram-auth.d.ts +54 -0
- package/dist/utils/telegram-auth.d.ts.map +1 -0
- package/dist/utils/telegram-auth.js +146 -0
- package/dist/utils/telegram-auth.js.map +1 -0
- package/dist/utils/telegram.d.ts +7 -0
- package/dist/utils/telegram.d.ts.map +1 -0
- package/dist/utils/telegram.js +1494 -0
- package/dist/utils/telegram.js.map +1 -0
- package/dist/utils/whatsapp-client.d.ts +166 -0
- package/dist/utils/whatsapp-client.d.ts.map +1 -0
- package/dist/utils/whatsapp-client.js +722 -0
- package/dist/utils/whatsapp-client.js.map +1 -0
- package/dist/workflows/planner-workflow.d.ts +39 -0
- package/dist/workflows/planner-workflow.d.ts.map +1 -0
- package/dist/workflows/planner-workflow.js +165 -0
- package/dist/workflows/planner-workflow.js.map +1 -0
- package/dist/workflows/skill-builder-workflow.d.ts +16 -0
- package/dist/workflows/skill-builder-workflow.d.ts.map +1 -0
- package/dist/workflows/skill-builder-workflow.js +157 -0
- package/dist/workflows/skill-builder-workflow.js.map +1 -0
- package/dist/workspace/index.d.ts +23 -0
- package/dist/workspace/index.d.ts.map +1 -0
- package/dist/workspace/index.js +64 -0
- package/dist/workspace/index.js.map +1 -0
- package/docs/README.md +140 -0
- package/docs/api/agents.md +481 -0
- package/docs/api/browser-tools.md +469 -0
- package/docs/api/memory.md +629 -0
- package/docs/architecture/agent-networks.md +586 -0
- package/docs/architecture/memory.md +579 -0
- package/docs/architecture/overview.md +436 -0
- package/docs/architecture/tools.md +637 -0
- package/docs/cli-tui.md +367 -0
- package/docs/guides/environment-variables.md +502 -0
- package/docs/guides/troubleshooting.md +882 -0
- package/docs/tutorials/agent-networks.md +432 -0
- package/docs/tutorials/dynamic-tools.md +469 -0
- package/docs/tutorials/getting-started.md +263 -0
- package/docs/tutorials/skills.md +561 -0
- package/docs/tutorials/web-browsing.md +329 -0
- package/mastra.db-shm +0 -0
- package/mastra.db-wal +0 -0
- package/package.json +71 -0
- package/plan.md +601 -0
- package/skills/code-review/SKILL.md +48 -0
- package/skills/task-planning/SKILL.md +55 -0
- package/skills/web-research/SKILL.md +79 -0
- package/skills/whatsapp-management/SKILL.md +78 -0
- package/src/agents/autonomous-agent.ts +626 -0
- package/src/agents/network.ts +1307 -0
- package/src/cli/commands/backup.ts +78 -0
- package/src/cli/commands/config.ts +176 -0
- package/src/cli/commands/doctor.ts +111 -0
- package/src/cli/commands/init.ts +150 -0
- package/src/cli/commands/logs.ts +94 -0
- package/src/cli/commands/otp.ts +162 -0
- package/src/cli/commands/restore.ts +118 -0
- package/src/cli/commands/start.ts +76 -0
- package/src/cli/commands/status.ts +81 -0
- package/src/cli/commands/stop.ts +68 -0
- package/src/cli/commands/update.ts +61 -0
- package/src/cli/commands/whatsapp.ts +322 -0
- package/src/cli/index.ts +69 -0
- package/src/cli.ts +830 -0
- package/src/index.ts +124 -0
- package/src/mastra/index.ts +49 -0
- package/src/mastra/memory.ts +99 -0
- package/src/mastra/public/workspace/plan.md +115 -0
- package/src/mastra/public/workspace/research/react-tailwind/skill.md +47 -0
- package/src/processors/index.ts +170 -0
- package/src/processors/semantic-recall.ts +277 -0
- package/src/processors/tool-search.ts +46 -0
- package/src/skills/dynamic/skill-generator.ts +568 -0
- package/src/tools/agent-delegation-tools.ts +301 -0
- package/src/tools/browser-tools.ts +792 -0
- package/src/tools/dynamic/registry.ts +144 -0
- package/src/tools/dynamic/tool-generator.ts +406 -0
- package/src/tools/extended-tools.ts +498 -0
- package/src/tools/library/calendar/index.ts +172 -0
- package/src/tools/podman-workspace-mcp-cli.ts +14 -0
- package/src/tools/podman-workspace-mcp.ts +1290 -0
- package/src/tools/podman-workspace.ts +858 -0
- package/src/tools/telegram-file-tools.ts +320 -0
- package/src/tools/tool-registry.ts +233 -0
- package/src/tools/web-tools.ts +461 -0
- package/src/tools/whatsapp-autoreply-tools.ts +616 -0
- package/src/tools/whatsapp-tools.ts +602 -0
- package/src/utils/logger.ts +368 -0
- package/src/utils/model-config.ts +437 -0
- package/src/utils/semantic-memory.ts +230 -0
- package/src/utils/system.ts +25 -0
- package/src/utils/telegram-auth.ts +201 -0
- package/src/utils/telegram.ts +1847 -0
- package/src/utils/whatsapp-client.ts +808 -0
- package/src/workflows/planner-workflow.ts +178 -0
- package/src/workflows/skill-builder-workflow.ts +175 -0
- package/src/workspace/index.ts +69 -0
- package/tsconfig.json +22 -0
- package/view-logs.sh +116 -0
- package/whatsapp-session.sh +197 -0
|
@@ -0,0 +1,561 @@
|
|
|
1
|
+
# Dynamic Skills Tutorial
|
|
2
|
+
|
|
3
|
+
Creating persistent learning capabilities for your Sybil agent.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
Skills are reusable capability modules that:
|
|
8
|
+
- Learn from interactions
|
|
9
|
+
- Provide context and instructions
|
|
10
|
+
- Can be activated/deactivated per session
|
|
11
|
+
- Persist across conversations
|
|
12
|
+
- Follow Agent Skills specification `.md` format
|
|
13
|
+
|
|
14
|
+
## Skill Structure
|
|
15
|
+
|
|
16
|
+
Each skill is a `SKILL.md` file with this structure:
|
|
17
|
+
|
|
18
|
+
```yaml
|
|
19
|
+
---
|
|
20
|
+
name: skill-name
|
|
21
|
+
description: One-line description
|
|
22
|
+
version: 1.0.0
|
|
23
|
+
tags:
|
|
24
|
+
- category
|
|
25
|
+
- language
|
|
26
|
+
- topic
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
# Skill Title
|
|
30
|
+
|
|
31
|
+
Instructions for when to use this skill
|
|
32
|
+
|
|
33
|
+
## When to Use This Skill
|
|
34
|
+
|
|
35
|
+
Clear scenarios of when to apply this skill
|
|
36
|
+
|
|
37
|
+
## Guidelines
|
|
38
|
+
|
|
39
|
+
Step-by-step instructions with examples
|
|
40
|
+
|
|
41
|
+
## Examples
|
|
42
|
+
|
|
43
|
+
Example 1: Usage scenario
|
|
44
|
+
Example 2: Another scenario
|
|
45
|
+
|
|
46
|
+
## Related Skills
|
|
47
|
+
|
|
48
|
+
- related-skill-1
|
|
49
|
+
- related-skill-2
|
|
50
|
+
---
|
|
51
|
+
*Generated by Sybil at 2026-02-12*
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Creating Skills
|
|
55
|
+
|
|
56
|
+
### Method 1: `/create-skill` Command
|
|
57
|
+
|
|
58
|
+
Create skills interactively:
|
|
59
|
+
|
|
60
|
+
```
|
|
61
|
+
User: Create a skill for managing GitHub pull requests
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
**Agent generates:**
|
|
65
|
+
```yaml
|
|
66
|
+
---
|
|
67
|
+
name: pr-management
|
|
68
|
+
description: GitHub PR management
|
|
69
|
+
tags:
|
|
70
|
+
- github
|
|
71
|
+
- development
|
|
72
|
+
version: 1.0.0
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
# GitHub Pull Request Management
|
|
76
|
+
|
|
77
|
+
Expert at managing GitHub pull requests efficiently.
|
|
78
|
+
|
|
79
|
+
## When to Use This Skill
|
|
80
|
+
|
|
81
|
+
- User asks about PR operations
|
|
82
|
+
- Need to open, merge, or comment on PRs
|
|
83
|
+
- Workflow automation for PR reviews
|
|
84
|
+
|
|
85
|
+
## Guidelines
|
|
86
|
+
|
|
87
|
+
1. Always verify branch protections before suggesting operations
|
|
88
|
+
2. Follow project-specific PR templates
|
|
89
|
+
3. Consider context from pull request discussions
|
|
90
|
+
4. Respect automated CI/CD pipelines
|
|
91
|
+
5. Add value through meaningful comments and reviews
|
|
92
|
+
|
|
93
|
+
## Examples
|
|
94
|
+
|
|
95
|
+
Example 1: Merging PR
|
|
96
|
+
User: Merge the hotfix changes
|
|
97
|
+
```bash
|
|
98
|
+
# Agent will check:
|
|
99
|
+
# - Branch rules
|
|
100
|
+
# - CI status
|
|
101
|
+
# - Review status
|
|
102
|
+
# # Merge if safe
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
Example 2: Commenting
|
|
106
|
+
User: Comment on the recent security fix
|
|
107
|
+
```bash
|
|
108
|
+
# Agent will:
|
|
109
|
+
# - Read PR description
|
|
110
|
+
# - Generate contextual comment
|
|
111
|
+
# - Post helpful technical feedback
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
## Related Skills
|
|
115
|
+
|
|
116
|
+
- repository-management
|
|
117
|
+
- code-review
|
|
118
|
+
- ci-cd-automation
|
|
119
|
+
---
|
|
120
|
+
*Generated by Sybil at 2025-10-15*
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
### Method 2: `/network` Creation
|
|
124
|
+
|
|
125
|
+
```
|
|
126
|
+
User: Create a skill for handling Docker containers
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
**Network coordinator:**
|
|
130
|
+
```
|
|
131
|
+
[Researcher Agent]
|
|
132
|
+
→ Researches Docker best practices
|
|
133
|
+
→ Common commands, patterns
|
|
134
|
+
|
|
135
|
+
[Executor Agent]
|
|
136
|
+
→ Creates skill
|
|
137
|
+
→ Writes code examples
|
|
138
|
+
→ Includes error handling
|
|
139
|
+
|
|
140
|
+
[Planner Agent]
|
|
141
|
+
→ Structures skill into sections
|
|
142
|
+
→ Adds learning objectives
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
## Skill Activation
|
|
148
|
+
|
|
149
|
+
### Manual Activation
|
|
150
|
+
```
|
|
151
|
+
User: /list-skills # View all skills
|
|
152
|
+
User: /activate-skill github-pr # Activate skill
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
### Automatic Activation
|
|
156
|
+
```
|
|
157
|
+
Skills containing relevant keywords automatically activated based on:
|
|
158
|
+
- User intent analysis
|
|
159
|
+
- Previous interaction patterns
|
|
160
|
+
- Contextual relevance
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
### Session-Based Activation
|
|
164
|
+
```
|
|
165
|
+
# Skills can be active for:
|
|
166
|
+
- Single message: "activate-skill for this task only"
|
|
167
|
+
- Current session: "keep active for this conversation"
|
|
168
|
+
- Default: "enable for all conversations"
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
173
|
+
## Skill Categories
|
|
174
|
+
|
|
175
|
+
### Technical Skills
|
|
176
|
+
- Development: pr-management, repository-management, debugging
|
|
177
|
+
- Cloud: docker-containers, kubernetes, aws, azure
|
|
178
|
+
- Security: vulnerability-scanning, penetration-testing
|
|
179
|
+
|
|
180
|
+
### Business Skills
|
|
181
|
+
- Communication: email-automation, schedule-automation
|
|
182
|
+
- Sales: lead-scoring, CRM-management
|
|
183
|
+
- Marketing: campaign-automation, analytics-reporting
|
|
184
|
+
- Operations: incident-response, triage-workflow
|
|
185
|
+
|
|
186
|
+
### Domains
|
|
187
|
+
- Data Science: data-cleaning, etl-pipelines, visualization
|
|
188
|
+
- Finance: risk-analysis, algorithmic-trading
|
|
189
|
+
- Healthcare: patient-monitoring, medical-research
|
|
190
|
+
- Education: course-generation, quiz-creation
|
|
191
|
+
|
|
192
|
+
---
|
|
193
|
+
|
|
194
|
+
## Learning Patterns
|
|
195
|
+
|
|
196
|
+
### From Interactions
|
|
197
|
+
|
|
198
|
+
**User Request:**
|
|
199
|
+
```
|
|
200
|
+
User: I'm tired of formatting dates by hand
|
|
201
|
+
User: Could you learn to do this?
|
|
202
|
+
Agent: I've detected pattern
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
**Agent Action:**
|
|
206
|
+
```python
|
|
207
|
+
# Creates skill: date-formatter
|
|
208
|
+
# Includes: Date parsing, locale support, output formats
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
### From Feedback
|
|
212
|
+
|
|
213
|
+
**User Feedback:**
|
|
214
|
+
```
|
|
215
|
+
User: The JSON format was hard to work with
|
|
216
|
+
User: Could you learn a new output format?
|
|
217
|
+
Agent: Updated skill-4 accordingly
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
### From Observation
|
|
221
|
+
|
|
222
|
+
**Pattern Detected:**
|
|
223
|
+
```
|
|
224
|
+
Recurring: "Send me weekly reminders every Monday at 9am"
|
|
225
|
+
→ Creates skill: weekly-reminder-scheduler
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
---
|
|
229
|
+
|
|
230
|
+
## Version Management
|
|
231
|
+
|
|
232
|
+
Skills support version updates:
|
|
233
|
+
|
|
234
|
+
```yaml
|
|
235
|
+
---
|
|
236
|
+
version: 2.0.0
|
|
237
|
+
---
|
|
238
|
+
|
|
239
|
+
# Changelog
|
|
240
|
+
|
|
241
|
+
v2.0.0:
|
|
242
|
+
- Added timezone support
|
|
243
|
+
- Added multiple reminders per week
|
|
244
|
+
- Fixed DST handling
|
|
245
|
+
|
|
246
|
+
v1.0.0:
|
|
247
|
+
- Initial version with basic weekly reminders
|
|
248
|
+
---
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
---
|
|
252
|
+
|
|
253
|
+
## Managing Skills
|
|
254
|
+
|
|
255
|
+
### View All Skills
|
|
256
|
+
|
|
257
|
+
```
|
|
258
|
+
User: /list-skills
|
|
259
|
+
|
|
260
|
+
📚 Available Skills:
|
|
261
|
+
📊 github-pr-management (v1.0.0)
|
|
262
|
+
📅 weekly-reminder (v2.0.0)
|
|
263
|
+
🔧 docker-container-manager (v1.0.0)
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
### Activate Skills
|
|
267
|
+
|
|
268
|
+
```
|
|
269
|
+
User: Use the GitHub PR management skill
|
|
270
|
+
→ Skill loaded into context
|
|
271
|
+
→ All PR commands available
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
### Deactivate Skills
|
|
275
|
+
|
|
276
|
+
```
|
|
277
|
+
User: Stop using the reminder skill
|
|
278
|
+
→ Skill deactivated for current session
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
### Update Skills
|
|
282
|
+
|
|
283
|
+
```
|
|
284
|
+
User: Update the docker skill to add volume management
|
|
285
|
+
→ Creates updated version with version increment
|
|
286
|
+
→ Old version archived for reference
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
### Delete Skills
|
|
290
|
+
|
|
291
|
+
```
|
|
292
|
+
User: Remove the old weekly-reminder skill
|
|
293
|
+
→ Skill file deleted
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
---
|
|
297
|
+
|
|
298
|
+
## Advanced Features
|
|
299
|
+
|
|
300
|
+
### Skill Composing
|
|
301
|
+
|
|
302
|
+
One skill can call another:
|
|
303
|
+
|
|
304
|
+
```typescript
|
|
305
|
+
skills: ["base-skill", "advanced-skills"]
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
### Skill Context Injection
|
|
309
|
+
|
|
310
|
+
When a skill is active, instructions are injected:
|
|
311
|
+
```typescript
|
|
312
|
+
instructions: `
|
|
313
|
+
${SKILL_MD_PATH}
|
|
314
|
+
${WORKING_MEMORY}
|
|
315
|
+
---
|
|
316
|
+
You have access to these skills: ${skills}
|
|
317
|
+
`;
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
### Conditional Logic
|
|
321
|
+
|
|
322
|
+
```typescript
|
|
323
|
+
if (userContext.userType === "premium") {
|
|
324
|
+
skills.push("advanced-skills", "priority-support");
|
|
325
|
+
}
|
|
326
|
+
```
|
|
327
|
+
|
|
328
|
+
### Skills with Tools
|
|
329
|
+
|
|
330
|
+
Skills can specify tool dependencies:
|
|
331
|
+
|
|
332
|
+
```typescript
|
|
333
|
+
tools: ["browser-tools", "whatsapp-tools"];
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
---
|
|
337
|
+
|
|
338
|
+
## Skill Performance Tracking
|
|
339
|
+
|
|
340
|
+
### Metrics Collected
|
|
341
|
+
- Usage frequency per skill
|
|
342
|
+
- Success rate per task
|
|
343
|
+
- User satisfaction ratings
|
|
344
|
+
- Time saved per usage
|
|
345
|
+
|
|
346
|
+
### Auto-Improvement
|
|
347
|
+
|
|
348
|
+
Based on metrics:
|
|
349
|
+
- ✅ Underutilized skills → archived
|
|
350
|
+
- ✅ High-failure skills → flagged for review
|
|
351
|
+
- ✅ Often-requested functionality → automatically creates new skills
|
|
352
|
+
- ✅ Low-rated skills → offers improvements or alternatives
|
|
353
|
+
|
|
354
|
+
---
|
|
355
|
+
|
|
356
|
+
## Examples by Domain
|
|
357
|
+
|
|
358
|
+
### Data Science Skills
|
|
359
|
+
|
|
360
|
+
#### ETL Pipeline Skill
|
|
361
|
+
```yaml
|
|
362
|
+
---
|
|
363
|
+
name: etl-pipeline-operator
|
|
364
|
+
description: Manages ETL data pipelines efficiently
|
|
365
|
+
tags:
|
|
366
|
+
- data-engineering
|
|
367
|
+
- etl
|
|
368
|
+
- pandas
|
|
369
|
+
version: 1.0.0
|
|
370
|
+
|
|
371
|
+
# ETL Pipeline Operations
|
|
372
|
+
|
|
373
|
+
## When to Use This Skill
|
|
374
|
+
|
|
375
|
+
When working with data extraction, transformation, and loading (ETL).
|
|
376
|
+
|
|
377
|
+
## Guidelines
|
|
378
|
+
|
|
379
|
+
1. Profile your workflow stages clearly
|
|
380
|
+
2. Log each stage with metadata
|
|
381
|
+
3. Monitor data quality at source
|
|
382
|
+
4. Handle incremental vs full loads
|
|
383
|
+
5. Document schema changes
|
|
384
|
+
6. Implement data validation rules
|
|
385
|
+
|
|
386
|
+
## Examples
|
|
387
|
+
|
|
388
|
+
Example 1: Full Pipeline
|
|
389
|
+
Pipeline: CSV → Transform → Load → DB
|
|
390
|
+
|
|
391
|
+
Example 2: Incremental Load
|
|
392
|
+
Pipeline: New rows → Validate → Append → DB
|
|
393
|
+
|
|
394
|
+
Example 3: Schema Evolution
|
|
395
|
+
Pipeline: Old schema → Transform to new schema → Backfill
|
|
396
|
+
|
|
397
|
+
## Related Skills
|
|
398
|
+
|
|
399
|
+
- data-validation
|
|
400
|
+
- database-management
|
|
401
|
+
- data-cleaning
|
|
402
|
+
---
|
|
403
|
+
```
|
|
404
|
+
|
|
405
|
+
### DevOps Skills
|
|
406
|
+
|
|
407
|
+
#### Kubernetes Deployment Skill
|
|
408
|
+
```yaml
|
|
409
|
+
---
|
|
410
|
+
name: k8s-deployment-audit
|
|
411
|
+
description: Audit and optimize Kubernetes deployments
|
|
412
|
+
tags:
|
|
413
|
+
- kubernetes
|
|
414
|
+
- devops
|
|
415
|
+
- cloud
|
|
416
|
+
version: 1.0.0
|
|
417
|
+
|
|
418
|
+
# Kubernetes Deployment Auditing
|
|
419
|
+
|
|
420
|
+
## When to Use This Skill
|
|
421
|
+
|
|
422
|
+
When managing Kubernetes clusters for optimal performance and security.
|
|
423
|
+
|
|
424
|
+
## Guidelines
|
|
425
|
+
|
|
426
|
+
1. Audit resource requests and limits
|
|
427
|
+
2. Check pod status and health
|
|
428
|
+
3. Analyze logs for errors
|
|
429
|
+
4. Review network policies
|
|
430
|
+
5. Monitor storage and metrics
|
|
431
|
+
6. Apply security best practices
|
|
432
|
+
|
|
433
|
+
## Examples
|
|
434
|
+
|
|
435
|
+
Example 1: Audit Deployment
|
|
436
|
+
Audit: Check for misconfigurations
|
|
437
|
+
|
|
438
|
+
Example 2: Optimize
|
|
439
|
+
Action: Apply resource limits
|
|
440
|
+
|
|
441
|
+
Example 3: Security Check
|
|
442
|
+
Action: Scan vulnerabilities
|
|
443
|
+
|
|
444
|
+
## Related Skills
|
|
445
|
+
- docker-container-manager
|
|
446
|
+
- cloud-security-audit
|
|
447
|
+
- infrastructure-as-code
|
|
448
|
+
---
|
|
449
|
+
```
|
|
450
|
+
|
|
451
|
+
### Skills with Tools
|
|
452
|
+
|
|
453
|
+
### Automation Skills
|
|
454
|
+
|
|
455
|
+
#### Automated Reporter
|
|
456
|
+
Tools:
|
|
457
|
+
- `browser-navigate`
|
|
458
|
+
- `browser-get-content`
|
|
459
|
+
- `browser-save-content`
|
|
460
|
+
- `browser-execute-script`
|
|
461
|
+
|
|
462
|
+
```yaml
|
|
463
|
+
---
|
|
464
|
+
name: automated-reporter
|
|
465
|
+
description: Generate automated reports from dashboards
|
|
466
|
+
tags:
|
|
467
|
+
- automation
|
|
468
|
+
- reporting
|
|
469
|
+
version: 1.0.0
|
|
470
|
+
|
|
471
|
+
# Automated Report Generation
|
|
472
|
+
|
|
473
|
+
## When to Use This Skill
|
|
474
|
+
|
|
475
|
+
When you need to generate periodic reports from web dashboards.
|
|
476
|
+
|
|
477
|
+
## Guidelines
|
|
478
|
+
|
|
479
|
+
1. Navigate to dashboard
|
|
480
|
+
2. Wait for data to load
|
|
481
|
+
3. Extract metrics
|
|
482
|
+
4. Format as report
|
|
483
|
+
5. Save or send report
|
|
484
|
+
```
|
|
485
|
+
|
|
486
|
+
### Skills for Multi-Agent Usage
|
|
487
|
+
|
|
488
|
+
#### Research Coordinator
|
|
489
|
+
**Skills:** [web-scraper, data-extraction, topic-synthesis]
|
|
490
|
+
|
|
491
|
+
**Used by:** Researcher Agent
|
|
492
|
+
|
|
493
|
+
---
|
|
494
|
+
|
|
495
|
+
## Learning Curve
|
|
496
|
+
|
|
497
|
+
### First 3 Skills
|
|
498
|
+
|
|
499
|
+
1. Simple, domain-specific
|
|
500
|
+
2. Easy to validate
|
|
501
|
+
3. Clear success criteria
|
|
502
|
+
|
|
503
|
+
### Beyond 3 Skills
|
|
504
|
+
|
|
505
|
+
- Skills can depend on other skills
|
|
506
|
+
- Complex workflows
|
|
507
|
+
- Many configuration options
|
|
508
|
+
- Requires more validation
|
|
509
|
+
|
|
510
|
+
### Performance Tips
|
|
511
|
+
|
|
512
|
+
- Skills with 1-2 parameters: ⚡ Fast activation
|
|
513
|
+
- Skills with multiple branches: 🔀 More flexible
|
|
514
|
+
- Skills with external APIs: 🌐 More info available
|
|
515
|
+
- Skills with loops/iterators: 🔄 More testing needed
|
|
516
|
+
|
|
517
|
+
---
|
|
518
|
+
|
|
519
|
+
## Debugging Skills
|
|
520
|
+
|
|
521
|
+
### Skill Not Working
|
|
522
|
+
|
|
523
|
+
```typescript
|
|
524
|
+
// Check skill file
|
|
525
|
+
# Open: skills/my-skill/SKILL.md
|
|
526
|
+
# Verify: Frontmatter is correct
|
|
527
|
+
# Verify: Instructions are clear
|
|
528
|
+
|
|
529
|
+
Common issues:
|
|
530
|
+
- Missing fields in frontmatter
|
|
531
|
+
- Invalid YAML syntax
|
|
532
|
+
- Missing required sections
|
|
533
|
+
- Conflicting examples
|
|
534
|
+
```
|
|
535
|
+
|
|
536
|
+
### Tool Not Available in Skill
|
|
537
|
+
|
|
538
|
+
```typescript
|
|
539
|
+
// Check tool imports
|
|
540
|
+
// Include tools in skills directory
|
|
541
|
+
|
|
542
|
+
"tools": {
|
|
543
|
+
"browser-tools": /* tools object */
|
|
544
|
+
}
|
|
545
|
+
```
|
|
546
|
+
|
|
547
|
+
### Activation Issues
|
|
548
|
+
|
|
549
|
+
```typescript
|
|
550
|
+
// Check skill activation
|
|
551
|
+
User: /list-skills
|
|
552
|
+
→ Verify skill is active
|
|
553
|
+
|
|
554
|
+
// Force activate specific skill
|
|
555
|
+
User: /activate-skill my-skill
|
|
556
|
+
→ Skill should load directly
|
|
557
|
+
```
|
|
558
|
+
|
|
559
|
+
---
|
|
560
|
+
|
|
561
|
+
**Your agent now learns and grows with you! 🧠**
|