一键导入
add-skill
How to create a new SKILL.md for a genai-tk project — format, conventions, and wiring to agent profiles.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
How to create a new SKILL.md for a genai-tk project — format, conventions, and wiring to agent profiles.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Build or modify LangChain, DeepAgent, DeerFlow profiles, agent tools, middleware, checkpointing, skills wiring, and the shared harness layer in genai-tk.
Work on BAML structured extraction, BAML CLI commands, processors, utilities, and Prefect BAML workflow integration in genai-tk.
Work on browser automation, sandbox browser tools, direct Playwright tools, AioSandbox backend, and sandbox CLI support in genai-tk.
Add or modify genai-tk Typer CLI commands, dynamic command registration, project scaffolding, and generated Copilot/agent support files.
Work on genai-tk OmegaConf configuration, profiles, overrides, env substitution, and config discovery. Use when editing config/*.yaml or genai_tk.config_mgmt.config_mngr.
Work on core LLM, embeddings, vector store, provider, cache, prompt, and retriever factories in genai-tk. Use when editing genai_tk/core or provider configuration.
| name | add-skill |
| description | How to create a new SKILL.md for a genai-tk project — format, conventions, and wiring to agent profiles. |
| tags | ["skills","agents","documentation"] |
| version | 1.0 |
Skills are SKILL.md files that give agents procedural knowledge on demand. They are loaded progressively — agents read them when needed, not on every call.
cli skills create my-skill-name
# Then edit: skills/custom/my-skill-name/SKILL.md
mkdir -p skills/custom/my-skill-name
---
name: my-skill-name
description: One sentence — what this skill enables an agent to do.
tags: [tag1, tag2]
version: "1.0"
author: ""
---
# My Skill Name
## When to Use
Describe exactly when an agent should apply this skill. Be specific:
"Use this skill when the user asks to query the knowledge graph with Cypher."
## Workflow
1. First action — be imperative, not passive
2. Second action — include concrete examples (selectors, commands, URLs)
3. Third action — describe expected outcomes
## Code Map
| Concern | Path |
|---------|------|
| Main logic | `<package>/...` |
| Config | `config/...` |
| Tests | `tests/...` |
## Examples
```bash
# Concrete CLI example
cli agents langchain -p my_agent "use my-skill to do X"
skills/custom/related-skill/SKILL.mddocs/EXTENDING.md
### Step 3: Validate
```bash
cli skills validate my-skill-name
In config/agents/langchain.yaml:
langchain_agents:
my_agent:
skill_directories:
- ${paths.project}/skills/custom
---) must have name and description## When to Use — tells the agent when to load this skill## Workflow — numbered steps, imperative voice## Code Map — table of paths the agent needs to navigateTo share publicly via skills.sh:
<repo>/<skill-name>/SKILL.mdcli skills add --skillssh your-org/your-repo| Concern | Path |
|---|---|
| Skill discovery | genai_tk/main/skills_manager.py |
| Skill validation | genai_tk/main/skills_manager.py::validate_skill |
| Skills CLI | genai_tk/cli/commands_skills.py |
| Bundled skills | skills/genai-tk/, skills/copilot/ |