@techwavedev/agi-agent-kit 1.1.5 ā 1.1.7
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/CHANGELOG.md +59 -0
- package/package.json +1 -1
- package/templates/base/skill-creator/LICENSE.txt +0 -0
- package/templates/base/skill-creator/SKILL_skillcreator.md +36 -23
- package/templates/base/skill-creator/references/output-patterns.md +0 -0
- package/templates/base/skill-creator/references/workflows.md +0 -0
- package/templates/base/skill-creator/scripts/init_skill.py +135 -18
- package/templates/base/skill-creator/scripts/package_skill.py +0 -0
- package/templates/base/skill-creator/scripts/quick_validate.py +0 -0
- package/templates/skills/core/documentation/SKILL.md +0 -0
- package/templates/skills/core/documentation/references/best_practices.md +0 -0
- package/templates/skills/core/documentation/scripts/analyze_code.py +0 -0
- package/templates/skills/core/documentation/scripts/detect_changes.py +0 -0
- package/templates/skills/core/documentation/scripts/generate_changelog.py +0 -0
- package/templates/skills/core/documentation/scripts/sync_docs.py +0 -0
- package/templates/skills/core/documentation/scripts/update_skill_docs.py +0 -0
- package/templates/skills/core/pdf-reader/SKILL.md +0 -0
- package/templates/skills/core/pdf-reader/references/pdf_libraries.md +0 -0
- package/templates/skills/core/pdf-reader/scripts/extract_text.py +0 -0
- package/templates/skills/core/qdrant-memory/SKILL.md +0 -0
- package/templates/skills/core/qdrant-memory/references/advanced_patterns.md +0 -0
- package/templates/skills/core/qdrant-memory/references/collection_schemas.md +0 -0
- package/templates/skills/core/qdrant-memory/references/complete_guide.md +0 -0
- package/templates/skills/core/qdrant-memory/references/embedding_models.md +0 -0
- package/templates/skills/core/qdrant-memory/scripts/__pycache__/embedding_utils.cpython-314.pyc +0 -0
- package/templates/skills/core/qdrant-memory/scripts/__pycache__/init_collection.cpython-314.pyc +0 -0
- package/templates/skills/core/qdrant-memory/scripts/benchmark_token_savings.py +0 -0
- package/templates/skills/core/qdrant-memory/scripts/embedding_utils.py +0 -0
- package/templates/skills/core/qdrant-memory/scripts/hybrid_search.py +0 -0
- package/templates/skills/core/qdrant-memory/scripts/init_collection.py +0 -0
- package/templates/skills/core/qdrant-memory/scripts/memory_retrieval.py +0 -0
- package/templates/skills/core/qdrant-memory/scripts/semantic_cache.py +0 -0
- package/templates/skills/core/qdrant-memory/scripts/test_skill.py +0 -0
- package/templates/skills/core/webcrawler/references/advanced_crawling.md +0 -0
- package/templates/skills/core/webcrawler/scripts/crawl_docs.py +0 -0
- package/templates/skills/core/webcrawler/scripts/extract_page.py +0 -0
- package/templates/skills/core/webcrawler/scripts/filter_docs.py +0 -0
- package/templates/skills/knowledge/SKILLS_CATALOG.md +796 -0
- package/templates/skills/knowledge/api-patterns/SKILL.md +0 -0
- package/templates/skills/knowledge/api-patterns/api-style.md +0 -0
- package/templates/skills/knowledge/api-patterns/auth.md +0 -0
- package/templates/skills/knowledge/api-patterns/documentation.md +0 -0
- package/templates/skills/knowledge/api-patterns/graphql.md +0 -0
- package/templates/skills/knowledge/api-patterns/rate-limiting.md +0 -0
- package/templates/skills/knowledge/api-patterns/response.md +0 -0
- package/templates/skills/knowledge/api-patterns/rest.md +0 -0
- package/templates/skills/knowledge/api-patterns/scripts/api_validator.py +0 -0
- package/templates/skills/knowledge/api-patterns/security-testing.md +0 -0
- package/templates/skills/knowledge/api-patterns/trpc.md +0 -0
- package/templates/skills/knowledge/api-patterns/versioning.md +0 -0
- package/templates/skills/knowledge/app-builder/SKILL.md +0 -0
- package/templates/skills/knowledge/app-builder/agent-coordination.md +0 -0
- package/templates/skills/knowledge/app-builder/feature-building.md +0 -0
- package/templates/skills/knowledge/app-builder/project-detection.md +0 -0
- package/templates/skills/knowledge/app-builder/scaffolding.md +0 -0
- package/templates/skills/knowledge/app-builder/tech-stack.md +0 -0
- package/templates/skills/knowledge/app-builder/templates/SKILL.md +0 -0
- package/templates/skills/knowledge/app-builder/templates/astro-static/TEMPLATE.md +0 -0
- package/templates/skills/knowledge/app-builder/templates/chrome-extension/TEMPLATE.md +0 -0
- package/templates/skills/knowledge/app-builder/templates/cli-tool/TEMPLATE.md +0 -0
- package/templates/skills/knowledge/app-builder/templates/electron-desktop/TEMPLATE.md +0 -0
- package/templates/skills/knowledge/app-builder/templates/express-api/TEMPLATE.md +0 -0
- package/templates/skills/knowledge/app-builder/templates/flutter-app/TEMPLATE.md +0 -0
- package/templates/skills/knowledge/app-builder/templates/monorepo-turborepo/TEMPLATE.md +0 -0
- package/templates/skills/knowledge/app-builder/templates/nextjs-fullstack/TEMPLATE.md +0 -0
- package/templates/skills/knowledge/app-builder/templates/nextjs-saas/TEMPLATE.md +0 -0
- package/templates/skills/knowledge/app-builder/templates/nextjs-static/TEMPLATE.md +0 -0
- package/templates/skills/knowledge/app-builder/templates/nuxt-app/TEMPLATE.md +0 -0
- package/templates/skills/knowledge/app-builder/templates/python-fastapi/TEMPLATE.md +0 -0
- package/templates/skills/knowledge/app-builder/templates/react-native-app/TEMPLATE.md +0 -0
- package/templates/skills/knowledge/architecture/SKILL.md +0 -0
- package/templates/skills/knowledge/architecture/context-discovery.md +0 -0
- package/templates/skills/knowledge/architecture/examples.md +0 -0
- package/templates/skills/knowledge/architecture/pattern-selection.md +0 -0
- package/templates/skills/knowledge/architecture/patterns-reference.md +0 -0
- package/templates/skills/knowledge/architecture/trade-off-analysis.md +0 -0
- package/templates/skills/knowledge/bash-linux/SKILL.md +0 -0
- package/templates/skills/knowledge/behavioral-modes/SKILL.md +0 -0
- package/templates/skills/knowledge/brainstorming/SKILL.md +0 -0
- package/templates/skills/knowledge/brainstorming/dynamic-questioning.md +0 -0
- package/templates/skills/knowledge/clean-code/SKILL.md +0 -0
- package/templates/skills/knowledge/code-review-checklist/SKILL.md +0 -0
- package/templates/skills/knowledge/database-design/SKILL.md +0 -0
- package/templates/skills/knowledge/database-design/database-selection.md +0 -0
- package/templates/skills/knowledge/database-design/indexing.md +0 -0
- package/templates/skills/knowledge/database-design/migrations.md +0 -0
- package/templates/skills/knowledge/database-design/optimization.md +0 -0
- package/templates/skills/knowledge/database-design/orm-selection.md +0 -0
- package/templates/skills/knowledge/database-design/schema-design.md +0 -0
- package/templates/skills/knowledge/database-design/scripts/schema_validator.py +0 -0
- package/templates/skills/knowledge/deployment-procedures/SKILL.md +0 -0
- package/templates/skills/knowledge/design-md/README.md +34 -0
- package/templates/skills/knowledge/design-md/SKILL.md +193 -0
- package/templates/skills/knowledge/design-md/examples/DESIGN.md +154 -0
- package/templates/skills/knowledge/documentation-templates/SKILL.md +0 -0
- package/templates/skills/knowledge/frontend-design/SKILL.md +0 -0
- package/templates/skills/knowledge/frontend-design/animation-guide.md +0 -0
- package/templates/skills/knowledge/frontend-design/color-system.md +0 -0
- package/templates/skills/knowledge/frontend-design/decision-trees.md +0 -0
- package/templates/skills/knowledge/frontend-design/motion-graphics.md +0 -0
- package/templates/skills/knowledge/frontend-design/scripts/accessibility_checker.py +0 -0
- package/templates/skills/knowledge/frontend-design/scripts/ux_audit.py +0 -0
- package/templates/skills/knowledge/frontend-design/typography-system.md +0 -0
- package/templates/skills/knowledge/frontend-design/ux-psychology.md +0 -0
- package/templates/skills/knowledge/frontend-design/visual-effects.md +0 -0
- package/templates/skills/knowledge/game-development/2d-games/SKILL.md +0 -0
- package/templates/skills/knowledge/game-development/3d-games/SKILL.md +0 -0
- package/templates/skills/knowledge/game-development/SKILL.md +0 -0
- package/templates/skills/knowledge/game-development/game-art/SKILL.md +0 -0
- package/templates/skills/knowledge/game-development/game-audio/SKILL.md +0 -0
- package/templates/skills/knowledge/game-development/game-design/SKILL.md +0 -0
- package/templates/skills/knowledge/game-development/mobile-games/SKILL.md +0 -0
- package/templates/skills/knowledge/game-development/multiplayer/SKILL.md +0 -0
- package/templates/skills/knowledge/game-development/pc-games/SKILL.md +0 -0
- package/templates/skills/knowledge/game-development/vr-ar/SKILL.md +0 -0
- package/templates/skills/knowledge/game-development/web-games/SKILL.md +0 -0
- package/templates/skills/knowledge/geo-fundamentals/SKILL.md +0 -0
- package/templates/skills/knowledge/geo-fundamentals/scripts/geo_checker.py +0 -0
- package/templates/skills/knowledge/i18n-localization/SKILL.md +0 -0
- package/templates/skills/knowledge/i18n-localization/scripts/i18n_checker.py +0 -0
- package/templates/skills/knowledge/intelligent-routing/SKILL.md +0 -0
- package/templates/skills/knowledge/jira/scripts/__pycache__/jira_client.cpython-314.pyc +0 -0
- package/templates/skills/knowledge/lint-and-validate/SKILL.md +0 -0
- package/templates/skills/knowledge/lint-and-validate/scripts/lint_runner.py +0 -0
- package/templates/skills/knowledge/lint-and-validate/scripts/type_coverage.py +0 -0
- package/templates/skills/knowledge/mcp-builder/SKILL.md +0 -0
- package/templates/skills/knowledge/mobile-design/SKILL.md +0 -0
- package/templates/skills/knowledge/mobile-design/decision-trees.md +0 -0
- package/templates/skills/knowledge/mobile-design/mobile-backend.md +0 -0
- package/templates/skills/knowledge/mobile-design/mobile-color-system.md +0 -0
- package/templates/skills/knowledge/mobile-design/mobile-debugging.md +0 -0
- package/templates/skills/knowledge/mobile-design/mobile-design-thinking.md +0 -0
- package/templates/skills/knowledge/mobile-design/mobile-navigation.md +0 -0
- package/templates/skills/knowledge/mobile-design/mobile-performance.md +0 -0
- package/templates/skills/knowledge/mobile-design/mobile-testing.md +0 -0
- package/templates/skills/knowledge/mobile-design/mobile-typography.md +0 -0
- package/templates/skills/knowledge/mobile-design/platform-android.md +0 -0
- package/templates/skills/knowledge/mobile-design/platform-ios.md +0 -0
- package/templates/skills/knowledge/mobile-design/scripts/mobile_audit.py +0 -0
- package/templates/skills/knowledge/mobile-design/touch-psychology.md +0 -0
- package/templates/skills/knowledge/nextjs-best-practices/SKILL.md +0 -0
- package/templates/skills/knowledge/nodejs-best-practices/SKILL.md +0 -0
- package/templates/skills/knowledge/notebooklm-mcp/SKILL.md +71 -0
- package/templates/skills/knowledge/notebooklm-mcp/assets/example_asset.txt +24 -0
- package/templates/skills/knowledge/notebooklm-mcp/references/api_reference.md +34 -0
- package/templates/skills/knowledge/notebooklm-mcp/scripts/example.py +19 -0
- package/templates/skills/knowledge/parallel-agents/SKILL.md +0 -0
- package/templates/skills/knowledge/performance-profiling/SKILL.md +0 -0
- package/templates/skills/knowledge/performance-profiling/scripts/lighthouse_audit.py +0 -0
- package/templates/skills/knowledge/plan-writing/SKILL.md +0 -0
- package/templates/skills/knowledge/powershell-windows/SKILL.md +0 -0
- package/templates/skills/knowledge/python-patterns/SKILL.md +0 -0
- package/templates/skills/knowledge/react-components/README.md +36 -0
- package/templates/skills/knowledge/react-components/SKILL.md +53 -0
- package/templates/skills/knowledge/react-components/examples/gold-standard-card.tsx +80 -0
- package/templates/skills/knowledge/react-components/package-lock.json +231 -0
- package/templates/skills/knowledge/react-components/package.json +16 -0
- package/templates/skills/knowledge/react-components/resources/architecture-checklist.md +15 -0
- package/templates/skills/knowledge/react-components/resources/component-template.tsx +37 -0
- package/templates/skills/knowledge/react-components/resources/stitch-api-reference.md +14 -0
- package/templates/skills/knowledge/react-components/resources/style-guide.json +27 -0
- package/templates/skills/knowledge/react-components/scripts/fetch-stitch.sh +30 -0
- package/templates/skills/knowledge/react-components/scripts/validate.js +68 -0
- package/templates/skills/knowledge/react-patterns/SKILL.md +0 -0
- package/templates/skills/knowledge/red-team-tactics/SKILL.md +0 -0
- package/templates/skills/knowledge/self-update/SKILL.md +60 -0
- package/templates/skills/knowledge/self-update/scripts/update_kit.py +103 -0
- package/templates/skills/knowledge/seo-fundamentals/SKILL.md +0 -0
- package/templates/skills/knowledge/seo-fundamentals/scripts/seo_checker.py +0 -0
- package/templates/skills/knowledge/server-management/SKILL.md +0 -0
- package/templates/skills/knowledge/stitch-loop/README.md +54 -0
- package/templates/skills/knowledge/stitch-loop/SKILL.md +235 -0
- package/templates/skills/knowledge/stitch-loop/examples/SITE.md +73 -0
- package/templates/skills/knowledge/stitch-loop/examples/next-prompt.md +25 -0
- package/templates/skills/knowledge/stitch-loop/resources/baton-schema.md +61 -0
- package/templates/skills/knowledge/stitch-loop/resources/site-template.md +104 -0
- package/templates/skills/knowledge/systematic-debugging/SKILL.md +0 -0
- package/templates/skills/knowledge/tailwind-patterns/SKILL.md +0 -0
- package/templates/skills/knowledge/tdd-workflow/SKILL.md +0 -0
- package/templates/skills/knowledge/testing-patterns/SKILL.md +0 -0
- package/templates/skills/knowledge/testing-patterns/scripts/test_runner.py +0 -0
- package/templates/skills/knowledge/vulnerability-scanner/SKILL.md +0 -0
- package/templates/skills/knowledge/vulnerability-scanner/checklists.md +0 -0
- package/templates/skills/knowledge/vulnerability-scanner/scripts/security_scan.py +0 -0
- package/templates/skills/knowledge/webapp-testing/SKILL.md +0 -0
- package/templates/skills/knowledge/webapp-testing/scripts/playwright_runner.py +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,65 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.1.7] - 2026-02-07
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **Auto-Update in Skill Creator**: `init_skill.py` now auto-runs `update_catalog.py` and `sync_docs.py` after creating a new skill.
|
|
13
|
+
- Default ON ā use `--no-auto-update` to skip.
|
|
14
|
+
- New `--skills-dir` flag for specifying catalog update target directory.
|
|
15
|
+
- Non-fatal: graceful warnings if documentation skill is not installed.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- **NotebookLM MCP Skill**: Migrated to `PleasePrompto/notebooklm-mcp` browser-automated implementation with full auth, library management, and stealth mode support.
|
|
20
|
+
- **Skill Creator Documentation** (`SKILL_skillcreator.md`):
|
|
21
|
+
- Step 3: Documents new auto-update behavior and `--no-auto-update` / `--skills-dir` flags.
|
|
22
|
+
- Step 6: Notes that manual catalog update is now only needed for modifications/deletions.
|
|
23
|
+
- **SKILLS_CATALOG.md**: Regenerated with 45 public skills.
|
|
24
|
+
|
|
25
|
+
### Fixed
|
|
26
|
+
|
|
27
|
+
- **`init_skill.py` argument parsing**: Migrated from fragile positional parsing (`sys.argv`) to robust `argparse` with proper help text and validation.
|
|
28
|
+
- **`sync_docs.py` invocation**: Fixed `--update-catalog` flag to pass `"true"` as required value (not just the bare flag).
|
|
29
|
+
|
|
30
|
+
## [1.1.6] - 2026-02-07
|
|
31
|
+
|
|
32
|
+
### Added
|
|
33
|
+
|
|
34
|
+
- **37 Knowledge Skills Promoted to Root**: All knowledge-pack skills now live at `skills/` root alongside core skills for unified access:
|
|
35
|
+
- `api-patterns`, `app-builder`, `architecture`, `bash-linux`, `behavioral-modes`, `brainstorming`, `clean-code`, `code-review-checklist`, `database-design`, `deployment-procedures`, `documentation-templates`, `frontend-design`, `game-development`, `geo-fundamentals`, `i18n-localization`, `intelligent-routing`, `lint-and-validate`, `mcp-builder`, `mobile-design`, `nextjs-best-practices`, `nodejs-best-practices`, `parallel-agents`, `performance-profiling`, `plan-writing`, `powershell-windows`, `python-patterns`, `react-patterns`, `red-team-tactics`, `seo-fundamentals`, `server-management`, `systematic-debugging`, `tailwind-patterns`, `tdd-workflow`, `testing-patterns`, `vulnerability-scanner`, `webapp-testing`.
|
|
36
|
+
- **NotebookLM MCP Skill**: New `notebooklm-mcp` skill to interact with Google NotebookLM via Model Context Protocol, with documentation, example script, and reference assets.
|
|
37
|
+
- **Opencode Support**: Added `OPENCODE.md` configuration file for Opencode editor compatibility with `opencode-antigravity-auth` plugin.
|
|
38
|
+
- **Execution Scripts**: Two new deterministic execution scripts:
|
|
39
|
+
- `memory_manager.py` ā Centralized memory management for Qdrant operations.
|
|
40
|
+
- `session_init.py` ā Session initialization and context bootstrapping.
|
|
41
|
+
- **Stitch Skills in Templates**: `design-md`, `react-components`, and `stitch-loop` now included in knowledge templates (`templates/skills/knowledge/`) for NPX distribution.
|
|
42
|
+
- **Self-Update in Templates**: `self-update` skill with `update_kit.py` added to knowledge templates.
|
|
43
|
+
- **Knowledge SKILLS_CATALOG**: New comprehensive `SKILLS_CATALOG.md` inside `templates/skills/knowledge/` for template-level skill discovery.
|
|
44
|
+
|
|
45
|
+
### Changed
|
|
46
|
+
|
|
47
|
+
- **AGENTS.md**: Added "Getting Started" section with installation, dependency, and update instructions.
|
|
48
|
+
- **Memory Integration Directive**: Complete rewrite of `directives/memory_integration.md` ā simplified from 211 lines to 95 lines with clearer goal/inputs/execution structure and Ollama embedding documentation.
|
|
49
|
+
- **Skill Creator**: Updated `SKILL_skillcreator.md` with refined skill creation guidelines.
|
|
50
|
+
- **SKILLS_CATALOG.md**: Expanded with 560+ lines of new skill entries covering all promoted knowledge skills.
|
|
51
|
+
- **Documentation Skill**: Updated `skills/documentation/SKILL.md` with improved detection and sync logic.
|
|
52
|
+
- **Template Hierarchy Restructured**: Shifted standalone template skills (`design-md`, `react-components`, `stitch-loop`) into `templates/skills/knowledge/` for consistent NPX packaging.
|
|
53
|
+
|
|
54
|
+
### Improved
|
|
55
|
+
|
|
56
|
+
- **Core Skill Definitions**: Refined SKILL.md files across `pdf-reader`, `qdrant-memory`, and `webcrawler` with updated descriptions, triggers, and references.
|
|
57
|
+
- **Qdrant Memory Scripts**: Updated all 7 scripts (`benchmark_token_savings.py`, `embedding_utils.py`, `hybrid_search.py`, `init_collection.py`, `memory_retrieval.py`, `semantic_cache.py`, `test_skill.py`) with improved patterns.
|
|
58
|
+
- **Knowledge Skill Documentation**: Mass update of SKILL.md definitions across 36+ knowledge skills with enhanced frontmatter, triggers, and reference content in templates.
|
|
59
|
+
- **Audit Scripts**: Updated `ux_audit.py`, `security_scan.py`, `lighthouse_audit.py`, `test_runner.py`, `playwright_runner.py`, and `seo_checker.py` in templates.
|
|
60
|
+
|
|
61
|
+
### Fixed
|
|
62
|
+
|
|
63
|
+
- **Version Bump**: Package version correctly set to `1.1.6` in `package.json`.
|
|
64
|
+
- **Template Cleanup**: Removed duplicate standalone Stitch skill templates (`templates/skills/design-md/`, `templates/skills/react-components/`, `templates/skills/stitch-loop/`), consolidated into `templates/skills/knowledge/`.
|
|
65
|
+
- **Removed `verify_public_release.py`**: Deprecated top-level verification script removed (functionality integrated into CI/CD pipeline).
|
|
66
|
+
|
|
8
67
|
## [1.1.5] - 2026-01-27
|
|
9
68
|
|
|
10
69
|
### Added
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@techwavedev/agi-agent-kit",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
4
4
|
"description": "Enterprise-Grade Agentic Framework - Modular skill-based AI assistant toolkit with deterministic execution and semantic memory.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"agi-agent-kit": "./bin/init.js"
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: skill-creator
|
|
3
|
-
description: Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends
|
|
3
|
+
description: Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends the agent's capabilities with specialized knowledge, workflows, or tool integrations.
|
|
4
4
|
license: Complete terms in LICENSE.txt
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -10,9 +10,9 @@ This skill provides guidance for creating effective skills.
|
|
|
10
10
|
|
|
11
11
|
## About Skills
|
|
12
12
|
|
|
13
|
-
Skills are modular, self-contained packages that extend
|
|
13
|
+
Skills are modular, self-contained packages that extend the agent's capabilities by providing
|
|
14
14
|
specialized knowledge, workflows, and tools. Think of them as "onboarding guides" for specific
|
|
15
|
-
domains or tasksāthey transform
|
|
15
|
+
domains or tasksāthey transform the agent from a general-purpose agent into a specialized agent
|
|
16
16
|
equipped with procedural knowledge that no model can fully possess.
|
|
17
17
|
|
|
18
18
|
### What Skills Provide
|
|
@@ -26,9 +26,9 @@ equipped with procedural knowledge that no model can fully possess.
|
|
|
26
26
|
|
|
27
27
|
### Concise is Key
|
|
28
28
|
|
|
29
|
-
The context window is a public good. Skills share the context window with everything else
|
|
29
|
+
The context window is a public good. Skills share the context window with everything else the agent needs: system prompt, conversation history, other Skills' metadata, and the actual user request.
|
|
30
30
|
|
|
31
|
-
**Default assumption:
|
|
31
|
+
**Default assumption: the agent is already very smart.** Only add context the agent doesn't already have. Challenge each piece of information: "Does the agent really need this explanation?" and "Does this paragraph justify its token cost?"
|
|
32
32
|
|
|
33
33
|
Prefer concise examples over verbose explanations.
|
|
34
34
|
|
|
@@ -42,7 +42,7 @@ Match the level of specificity to the task's fragility and variability:
|
|
|
42
42
|
|
|
43
43
|
**Low freedom (specific scripts, few parameters)**: Use when operations are fragile and error-prone, consistency is critical, or a specific sequence must be followed.
|
|
44
44
|
|
|
45
|
-
Think of
|
|
45
|
+
Think of the agent as exploring a path: a narrow bridge with cliffs needs specific guardrails (low freedom), while an open field allows many routes (high freedom).
|
|
46
46
|
|
|
47
47
|
### Anatomy of a Skill
|
|
48
48
|
|
|
@@ -65,7 +65,7 @@ skill-name/
|
|
|
65
65
|
|
|
66
66
|
Every SKILL.md consists of:
|
|
67
67
|
|
|
68
|
-
- **Frontmatter** (YAML): Contains `name` and `description` fields. These are the only fields that
|
|
68
|
+
- **Frontmatter** (YAML): Contains `name` and `description` fields. These are the only fields that the agent reads to determine when the skill gets used, thus it is very important to be clear and comprehensive in describing what the skill is, and when it should be used.
|
|
69
69
|
- **Body** (Markdown): Instructions and guidance for using the skill. Only loaded AFTER the skill triggers (if at all).
|
|
70
70
|
|
|
71
71
|
#### Bundled Resources (optional)
|
|
@@ -77,27 +77,27 @@ Executable code (Python/Bash/etc.) for tasks that require deterministic reliabil
|
|
|
77
77
|
- **When to include**: When the same code is being rewritten repeatedly or deterministic reliability is needed
|
|
78
78
|
- **Example**: `scripts/rotate_pdf.py` for PDF rotation tasks
|
|
79
79
|
- **Benefits**: Token efficient, deterministic, may be executed without loading into context
|
|
80
|
-
- **Note**: Scripts may still need to be read by
|
|
80
|
+
- **Note**: Scripts may still need to be read by the agent for patching or environment-specific adjustments
|
|
81
81
|
|
|
82
82
|
##### References (`references/`)
|
|
83
83
|
|
|
84
|
-
Documentation and reference material intended to be loaded as needed into context to inform
|
|
84
|
+
Documentation and reference material intended to be loaded as needed into context to inform the agent's process and thinking.
|
|
85
85
|
|
|
86
|
-
- **When to include**: For documentation that
|
|
86
|
+
- **When to include**: For documentation that the agent should reference while working
|
|
87
87
|
- **Examples**: `references/finance.md` for financial schemas, `references/mnda.md` for company NDA template, `references/policies.md` for company policies, `references/api_docs.md` for API specifications
|
|
88
88
|
- **Use cases**: Database schemas, API documentation, domain knowledge, company policies, detailed workflow guides
|
|
89
|
-
- **Benefits**: Keeps SKILL.md lean, loaded only when
|
|
89
|
+
- **Benefits**: Keeps SKILL.md lean, loaded only when the agent determines it's needed
|
|
90
90
|
- **Best practice**: If files are large (>10k words), include grep search patterns in SKILL.md
|
|
91
91
|
- **Avoid duplication**: Information should live in either SKILL.md or references files, not both. Prefer references files for detailed information unless it's truly core to the skillāthis keeps SKILL.md lean while making information discoverable without hogging the context window. Keep only essential procedural instructions and workflow guidance in SKILL.md; move detailed reference material, schemas, and examples to references files.
|
|
92
92
|
|
|
93
93
|
##### Assets (`assets/`)
|
|
94
94
|
|
|
95
|
-
Files not intended to be loaded into context, but rather used within the output
|
|
95
|
+
Files not intended to be loaded into context, but rather used within the output the agent produces.
|
|
96
96
|
|
|
97
97
|
- **When to include**: When the skill needs files that will be used in the final output
|
|
98
98
|
- **Examples**: `assets/logo.png` for brand assets, `assets/slides.pptx` for PowerPoint templates, `assets/frontend-template/` for HTML/React boilerplate, `assets/font.ttf` for typography
|
|
99
99
|
- **Use cases**: Templates, images, icons, boilerplate code, fonts, sample documents that get copied or modified
|
|
100
|
-
- **Benefits**: Separates output resources from documentation, enables
|
|
100
|
+
- **Benefits**: Separates output resources from documentation, enables the agent to use files without loading them into context
|
|
101
101
|
|
|
102
102
|
#### What to Not Include in a Skill
|
|
103
103
|
|
|
@@ -117,7 +117,7 @@ Skills use a three-level loading system to manage context efficiently:
|
|
|
117
117
|
|
|
118
118
|
1. **Metadata (name + description)** - Always in context (~100 words)
|
|
119
119
|
2. **SKILL.md body** - When skill triggers (<5k words)
|
|
120
|
-
3. **Bundled resources** - As needed by
|
|
120
|
+
3. **Bundled resources** - As needed by the agent (Unlimited because scripts can be executed without reading into context window)
|
|
121
121
|
|
|
122
122
|
#### Progressive Disclosure Patterns
|
|
123
123
|
|
|
@@ -142,7 +142,7 @@ Extract text with pdfplumber:
|
|
|
142
142
|
- **Examples**: See [EXAMPLES.md](EXAMPLES.md) for common patterns
|
|
143
143
|
```
|
|
144
144
|
|
|
145
|
-
|
|
145
|
+
The agent loads FORMS.md, REFERENCE.md, or EXAMPLES.md only when needed.
|
|
146
146
|
|
|
147
147
|
**Pattern 2: Domain-specific organization**
|
|
148
148
|
|
|
@@ -158,7 +158,7 @@ bigquery-skill/
|
|
|
158
158
|
āāā marketing.md (campaigns, attribution)
|
|
159
159
|
```
|
|
160
160
|
|
|
161
|
-
When a user asks about sales metrics,
|
|
161
|
+
When a user asks about sales metrics, the agent only reads sales.md.
|
|
162
162
|
|
|
163
163
|
Similarly, for skills supporting multiple frameworks or variants, organize by variant:
|
|
164
164
|
|
|
@@ -171,7 +171,7 @@ cloud-deploy/
|
|
|
171
171
|
āāā azure.md (Azure deployment patterns)
|
|
172
172
|
```
|
|
173
173
|
|
|
174
|
-
When the user chooses AWS,
|
|
174
|
+
When the user chooses AWS, the agent only reads aws.md.
|
|
175
175
|
|
|
176
176
|
**Pattern 3: Conditional details**
|
|
177
177
|
|
|
@@ -192,12 +192,12 @@ For simple edits, modify the XML directly.
|
|
|
192
192
|
**For OOXML details**: See [OOXML.md](OOXML.md)
|
|
193
193
|
```
|
|
194
194
|
|
|
195
|
-
|
|
195
|
+
The agent reads REDLINING.md or OOXML.md only when the user needs those features.
|
|
196
196
|
|
|
197
197
|
**Important guidelines:**
|
|
198
198
|
|
|
199
199
|
- **Avoid deeply nested references** - Keep references one level deep from SKILL.md. All reference files should link directly from SKILL.md.
|
|
200
|
-
- **Structure longer reference files** - For files longer than 100 lines, include a table of contents at the top so
|
|
200
|
+
- **Structure longer reference files** - For files longer than 100 lines, include a table of contents at the top so the agent can see the full scope when previewing.
|
|
201
201
|
|
|
202
202
|
## Skill Creation Process
|
|
203
203
|
|
|
@@ -266,6 +266,12 @@ Usage:
|
|
|
266
266
|
|
|
267
267
|
```bash
|
|
268
268
|
scripts/init_skill.py <skill-name> --path <output-directory>
|
|
269
|
+
|
|
270
|
+
# Skip automatic catalog/docs updates
|
|
271
|
+
scripts/init_skill.py <skill-name> --path <output-directory> --no-auto-update
|
|
272
|
+
|
|
273
|
+
# Specify skills directory for catalog updates (if different from --path)
|
|
274
|
+
scripts/init_skill.py <skill-name> --path <output-directory> --skills-dir skills/
|
|
269
275
|
```
|
|
270
276
|
|
|
271
277
|
The script:
|
|
@@ -274,16 +280,20 @@ The script:
|
|
|
274
280
|
- Generates a SKILL.md template with proper frontmatter and TODO placeholders
|
|
275
281
|
- Creates example resource directories: `scripts/`, `references/`, and `assets/`
|
|
276
282
|
- Adds example files in each directory that can be customized or deleted
|
|
283
|
+
- **Auto-runs `update_catalog.py`** to regenerate `SKILLS_CATALOG.md` (default ON)
|
|
284
|
+
- **Auto-runs `sync_docs.py`** to synchronize documentation (default ON, if documentation skill exists)
|
|
285
|
+
|
|
286
|
+
> **Note:** Use `--no-auto-update` to skip automatic catalog and documentation updates.
|
|
277
287
|
|
|
278
288
|
After initialization, customize or remove the generated SKILL.md and example files as needed.
|
|
279
289
|
|
|
280
290
|
### Step 4: Edit the Skill
|
|
281
291
|
|
|
282
|
-
When editing the (newly-generated or existing) skill, remember that the skill is being created for another instance of
|
|
292
|
+
When editing the (newly-generated or existing) skill, remember that the skill is being created for another instance of the agent to use. Include information that would be beneficial and non-obvious to Claude. Consider what procedural knowledge, domain-specific details, or reusable assets would help another the agent instance execute these tasks more effectively.
|
|
283
293
|
|
|
284
294
|
#### Learn Proven Design Patterns
|
|
285
295
|
|
|
286
|
-
|
|
296
|
+
Consult these helpful guides based on your skill's needs:
|
|
287
297
|
|
|
288
298
|
- **Multi-step processes**: See references/workflows.md for sequential workflows and conditional logic
|
|
289
299
|
- **Specific output formats or quality standards**: See references/output-patterns.md for template and example patterns
|
|
@@ -307,10 +317,10 @@ Any example files and directories not needed for the skill should be deleted. Th
|
|
|
307
317
|
Write the YAML frontmatter with `name` and `description`:
|
|
308
318
|
|
|
309
319
|
- `name`: The skill name
|
|
310
|
-
- `description`: This is the primary triggering mechanism for your skill, and helps
|
|
320
|
+
- `description`: This is the primary triggering mechanism for your skill, and helps the agent understand when to use the skill.
|
|
311
321
|
- Include both what the Skill does and specific triggers/contexts for when to use it.
|
|
312
322
|
- Include all "when to use" information here - Not in the body. The body is only loaded after triggering, so "When to Use This Skill" sections in the body are not helpful to Claude.
|
|
313
|
-
- Example description for a `docx` skill: "Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. Use when
|
|
323
|
+
- Example description for a `docx` skill: "Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. Use when the agent needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks"
|
|
314
324
|
|
|
315
325
|
Do not include any other fields in YAML frontmatter.
|
|
316
326
|
|
|
@@ -348,7 +358,10 @@ If validation fails, the script will report the errors and exit without creating
|
|
|
348
358
|
|
|
349
359
|
**CRITICAL:** After any skill operation (create, modify, or delete), the Skills Catalog must be updated. This ensures all skills are discoverable and documented.
|
|
350
360
|
|
|
361
|
+
> **For new skills:** `init_skill.py` now auto-runs catalog and documentation updates by default. Manual update is only needed when modifying or deleting existing skills.
|
|
362
|
+
|
|
351
363
|
```bash
|
|
364
|
+
# Manual update (for modifications/deletions, or if --no-auto-update was used)
|
|
352
365
|
scripts/update_catalog.py --skills-dir skills/
|
|
353
366
|
```
|
|
354
367
|
|
|
File without changes
|
|
File without changes
|
|
@@ -11,6 +11,7 @@ Examples:
|
|
|
11
11
|
init_skill.py custom-skill --path /custom/location
|
|
12
12
|
"""
|
|
13
13
|
|
|
14
|
+
import subprocess
|
|
14
15
|
import sys
|
|
15
16
|
from pathlib import Path
|
|
16
17
|
|
|
@@ -266,27 +267,134 @@ def init_skill(skill_name, path):
|
|
|
266
267
|
print("1. Edit SKILL.md to complete the TODO items and update the description")
|
|
267
268
|
print("2. Customize or delete the example files in scripts/, references/, and assets/")
|
|
268
269
|
print("3. Run the validator when ready to check the skill structure")
|
|
269
|
-
print("4. Update the skills catalog: python skill-creator/scripts/update_catalog.py --skills-dir skills/")
|
|
270
270
|
|
|
271
271
|
return skill_dir
|
|
272
272
|
|
|
273
273
|
|
|
274
|
+
def auto_update_catalog(skills_dir: Path) -> bool:
|
|
275
|
+
"""
|
|
276
|
+
Auto-run update_catalog.py after skill creation.
|
|
277
|
+
|
|
278
|
+
Args:
|
|
279
|
+
skills_dir: Path to the skills directory
|
|
280
|
+
|
|
281
|
+
Returns:
|
|
282
|
+
True if successful, False otherwise
|
|
283
|
+
"""
|
|
284
|
+
# Locate update_catalog.py relative to this script
|
|
285
|
+
script_dir = Path(__file__).resolve().parent
|
|
286
|
+
catalog_script = script_dir / "update_catalog.py"
|
|
287
|
+
|
|
288
|
+
if not catalog_script.exists():
|
|
289
|
+
print(f" ā ļø Could not find update_catalog.py at {catalog_script}")
|
|
290
|
+
return False
|
|
291
|
+
|
|
292
|
+
print(f"\nš Auto-updating skills catalog...")
|
|
293
|
+
try:
|
|
294
|
+
result = subprocess.run(
|
|
295
|
+
[sys.executable, str(catalog_script), "--skills-dir", str(skills_dir)],
|
|
296
|
+
capture_output=True,
|
|
297
|
+
text=True,
|
|
298
|
+
timeout=30,
|
|
299
|
+
)
|
|
300
|
+
if result.returncode == 0:
|
|
301
|
+
print("ā
Skills catalog updated automatically")
|
|
302
|
+
return True
|
|
303
|
+
else:
|
|
304
|
+
print(f" ā ļø Catalog update returned non-zero: {result.stderr.strip()}")
|
|
305
|
+
return False
|
|
306
|
+
except subprocess.TimeoutExpired:
|
|
307
|
+
print(" ā ļø Catalog update timed out (30s)")
|
|
308
|
+
return False
|
|
309
|
+
except Exception as e:
|
|
310
|
+
print(f" ā ļø Catalog update failed: {e}")
|
|
311
|
+
return False
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
def auto_update_docs(skills_dir: Path, skill_name: str) -> bool:
|
|
315
|
+
"""
|
|
316
|
+
Auto-run documentation sync after skill creation.
|
|
317
|
+
|
|
318
|
+
Args:
|
|
319
|
+
skills_dir: Path to the skills directory
|
|
320
|
+
skill_name: Name of the skill to update docs for
|
|
321
|
+
|
|
322
|
+
Returns:
|
|
323
|
+
True if successful, False otherwise
|
|
324
|
+
"""
|
|
325
|
+
# Locate sync_docs.py in the documentation skill
|
|
326
|
+
sync_script = skills_dir / "documentation" / "scripts" / "sync_docs.py"
|
|
327
|
+
|
|
328
|
+
if not sync_script.exists():
|
|
329
|
+
# Documentation skill not installed ā silently skip
|
|
330
|
+
return False
|
|
331
|
+
|
|
332
|
+
print(f"\nš Auto-updating documentation...")
|
|
333
|
+
try:
|
|
334
|
+
result = subprocess.run(
|
|
335
|
+
[
|
|
336
|
+
sys.executable, str(sync_script),
|
|
337
|
+
"--skills-dir", str(skills_dir),
|
|
338
|
+
"--update-catalog", "true",
|
|
339
|
+
],
|
|
340
|
+
capture_output=True,
|
|
341
|
+
text=True,
|
|
342
|
+
timeout=60,
|
|
343
|
+
)
|
|
344
|
+
if result.returncode == 0:
|
|
345
|
+
print("ā
Documentation updated automatically")
|
|
346
|
+
return True
|
|
347
|
+
else:
|
|
348
|
+
# sync_docs may not exist or have issues ā non-fatal
|
|
349
|
+
print(f" ā ļø Documentation sync skipped: {result.stderr.strip()[:200]}")
|
|
350
|
+
return False
|
|
351
|
+
except subprocess.TimeoutExpired:
|
|
352
|
+
print(" ā ļø Documentation sync timed out (60s)")
|
|
353
|
+
return False
|
|
354
|
+
except Exception as e:
|
|
355
|
+
print(f" ā ļø Documentation sync skipped: {e}")
|
|
356
|
+
return False
|
|
357
|
+
|
|
358
|
+
|
|
274
359
|
def main():
|
|
275
|
-
|
|
276
|
-
print("Usage: init_skill.py <skill-name> --path <path>")
|
|
277
|
-
print("\nSkill name requirements:")
|
|
278
|
-
print(" - Hyphen-case identifier (e.g., 'data-analyzer')")
|
|
279
|
-
print(" - Lowercase letters, digits, and hyphens only")
|
|
280
|
-
print(" - Max 40 characters")
|
|
281
|
-
print(" - Must match directory name exactly")
|
|
282
|
-
print("\nExamples:")
|
|
283
|
-
print(" init_skill.py my-new-skill --path skills/public")
|
|
284
|
-
print(" init_skill.py my-api-helper --path skills/private")
|
|
285
|
-
print(" init_skill.py custom-skill --path /custom/location")
|
|
286
|
-
sys.exit(1)
|
|
360
|
+
import argparse
|
|
287
361
|
|
|
288
|
-
|
|
289
|
-
|
|
362
|
+
parser = argparse.ArgumentParser(
|
|
363
|
+
description="Initialize a new skill from template with auto-update of catalog and docs.",
|
|
364
|
+
formatter_class=argparse.RawDescriptionHelpFormatter,
|
|
365
|
+
epilog="""
|
|
366
|
+
Examples:
|
|
367
|
+
init_skill.py my-new-skill --path skills/
|
|
368
|
+
init_skill.py my-api-helper --path skills/ --no-auto-update
|
|
369
|
+
init_skill.py custom-skill --path /custom/location --skills-dir skills/
|
|
370
|
+
|
|
371
|
+
Skill name requirements:
|
|
372
|
+
- Hyphen-case identifier (e.g., 'data-analyzer')
|
|
373
|
+
- Lowercase letters, digits, and hyphens only
|
|
374
|
+
- Max 40 characters
|
|
375
|
+
- Must match directory name exactly
|
|
376
|
+
""",
|
|
377
|
+
)
|
|
378
|
+
parser.add_argument("skill_name", help="Name of the skill to create")
|
|
379
|
+
parser.add_argument("--path", required=True, help="Directory where skill folder will be created")
|
|
380
|
+
parser.add_argument(
|
|
381
|
+
"--no-auto-update",
|
|
382
|
+
action="store_true",
|
|
383
|
+
default=False,
|
|
384
|
+
help="Skip automatic catalog and documentation updates (default: auto-update ON)",
|
|
385
|
+
)
|
|
386
|
+
parser.add_argument(
|
|
387
|
+
"--skills-dir",
|
|
388
|
+
default=None,
|
|
389
|
+
help="Skills directory for catalog/docs update (default: same as --path)",
|
|
390
|
+
)
|
|
391
|
+
|
|
392
|
+
# Support legacy positional format: init_skill.py <name> --path <path>
|
|
393
|
+
args = parser.parse_args()
|
|
394
|
+
|
|
395
|
+
skill_name = args.skill_name
|
|
396
|
+
path = args.path
|
|
397
|
+
skills_dir = Path(args.skills_dir or path).resolve()
|
|
290
398
|
|
|
291
399
|
print(f"š Initializing skill: {skill_name}")
|
|
292
400
|
print(f" Location: {path}")
|
|
@@ -294,11 +402,20 @@ def main():
|
|
|
294
402
|
|
|
295
403
|
result = init_skill(skill_name, path)
|
|
296
404
|
|
|
297
|
-
if result:
|
|
298
|
-
sys.exit(0)
|
|
299
|
-
else:
|
|
405
|
+
if not result:
|
|
300
406
|
sys.exit(1)
|
|
301
407
|
|
|
408
|
+
# Auto-update catalog and documentation (unless explicitly disabled)
|
|
409
|
+
if not args.no_auto_update:
|
|
410
|
+
auto_update_catalog(skills_dir)
|
|
411
|
+
auto_update_docs(skills_dir, skill_name)
|
|
412
|
+
else:
|
|
413
|
+
print("\nāļø Auto-update skipped (--no-auto-update)")
|
|
414
|
+
print(f" Manual update: python skill-creator/scripts/update_catalog.py --skills-dir {skills_dir}")
|
|
415
|
+
|
|
416
|
+
print(f"\nš Done! Skill '{skill_name}' is ready for development.")
|
|
417
|
+
sys.exit(0)
|
|
418
|
+
|
|
302
419
|
|
|
303
420
|
if __name__ == "__main__":
|
|
304
421
|
main()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/templates/skills/core/qdrant-memory/scripts/__pycache__/embedding_utils.cpython-314.pyc
ADDED
|
Binary file
|
package/templates/skills/core/qdrant-memory/scripts/__pycache__/init_collection.cpython-314.pyc
ADDED
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|