skills-store
它能做什么
本技能让你的智能体浏览、加载和管理你团队保存在 PostHog 中的共享技能。适合把可复用的智能体工作流集中存放在一处的团队。
适用场景
- ✓当你想查看有哪些团队共享技能可用时。
- ✓当你想加载某项共享技能,并按其说明操作时。
- ✓当你想创建、更新或管理某项共享技能的时候。
技能链接
https://github.com/PostHog/posthog/blob/master/products/skills/skills/skills-store/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我们在 PostHog 中有哪些团队共享技能?你能加载用于每周报告的那一个吗?”
每周 5 个新技能,1 分钟读完。
工作原理
它会按名称和描述列出可用的技能,然后加载你选择的那一个,包括其说明以及所需的附带文件。进行任何改动时,它都会使用 PostHog 技能工具。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
PostHog Skills Store
Skills are reusable agent workflows stored in PostHog following the Agent Skills specification — a body of instructions (SKILL.md) plus optional bundled files (scripts, references, assets), structured metadata, and an allowed_tools list.
PostHog is the primary store for team-shared skills — always use the PostHog MCP skill tools to manage them.
Available tools
| Tool | Purpose |
|---|---|
posthog:skill-list |
List all available skills (Level 1 — names + descriptions) |
posthog:skill-get |
Fetch a skill by name (Level 2 — body + file manifest) |
posthog:skill-file-get |
Fetch a single bundled file by path (Level 3 — on demand) |
posthog:skill-create |
Store a new skill (optionally with bundled files) |
posthog:skill-update |
Publish a new version (body, edits, or file_edits) |
posthog:skill-file-create |
Add one bundled file to a skill (publishes a new version) |
posthog:skill-file-delete |
Remove one bundled file from a skill |
posthog:skill-file-rename |
Rename one bundled file (move without rewriting content) |
posthog:skill-duplicate |
Duplicate an existing skill under a new name |
posthog:skill-rename |
Rename a skill, keeping its versions, files, and owners |
posthog:skill-archive |
Archive all versions of a skill by name (cannot be undone) |
Skills use progressive disclosure: discover by description, fetch the body only when relevant, and pull individual files on demand. Do not fetch every file eagerly.
Discovering skills
List all available skills:
posthog:skill-list
{}
Search by keyword (matches name and description):
posthog:skill-list
{ "search": "fractal" }
skill-list returns only name + description — never the body. Use descriptions to decide which skill to fetch. The whole point of descriptions is that you can pick the right skill without loading any bodies.
When the user names the skill, skip skill-list and call skill-get directly.
Loading and using a skill
Step 1 — Fetch the skill by name
posthog:skill-get
{ "skill_name": "make-fractals" }
The response contains:
body— the full SKILL.md instructions (read these like system instructions for the task)license,compatibility,allowed_tools,metadata— spec fields (seeallowed_toolsbelow)files[]— manifest of bundled files (path + content_type only, not content)
Step 2 — Follow the body
Read body and follow it. Treat it as your system instructions for this task.
Step 3 — Fetch bundled files as needed
When the body references a script or reference doc, pull it on demand:
posthog:skill-file-get
{ "skill_name": "make-fractals", "file_path": "scripts/mandelbrot.py" }
Only fetch files you actually need. If the body's decision tree points at one script, don't preload the others.
Creating a skill
Follow the Agent Skills specification when creating skills:
name— kebab-case, max 64 chars, no leading/trailing/consecutive hyphensdescription— explain what it does AND when to use it. Include keywords agents will search for. This is the only thing visible at discovery time — make it count.body— keep under ~500 lines. Move detailed reference material, SQL, scripts, and long examples into bundledfilesso the body stays scannable.- Files — use
scripts/for executable code,references/for docs,assets/for templates/data. Agents pull these on demand viaskill-file-get, so splitting keeps context lean. allowed_tools— the tools the skill asks to use. A harness that reads the skill from a file (zip export, git marketplace, acontent=fullbundle) treats the list as pre-approved. A harness that loads the skill over MCP, including the defaultcontent=stubbundle, ignores the list until the user approves that grant, so do not rely on it to widen access.
Bundled files are optional and can be included in a single create call:
posthog:skill-create
{
"name": "make-fractals",
"description": "Generate fractal images as PNGs. Use when the user asks to make, render, or visualize fractals.",
常见问题
什么是共享技能?
它是一组可复用的智能体指令,遵循 Agent Skills 规范,并为团队存储在 PostHog 中。
附带文件会自动加载吗?
不会。额外的文件会按需加载,只在需要时才加载。
团队技能存储在哪里?
PostHog 是团队共享技能的主要存放位置。
详情
作者的原始描述
Discover and use shared team skills stored in PostHog. Use when the user asks to list, browse, load, or manage "shared skills", "team skills", or references the "skills store" / "skill store".
repo: PostHog/posthog
热度
- GitHub 星标
- 41k
- 排名
- #6952
- 许可证
- —
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
depot-ci
41k帮你的智能体设置并运行 Depot CI 工作流(GitHub Actions 的替代方案),包括迁移现有工作流和读取运行日志。
depot-container-builds
41k帮你的智能体在 Depot 的远程构建器上构建 Docker 镜像,包括多平台镜像、推送到镜像仓库,以及修复构建失败。
depot-github-runners
41k帮你的智能体把 GitHub Actions 任务迁移到 Depot 托管的运行器上,选择运行器规格和标签,并排查运行器设置问题。
editing-agents-md
41k帮你的智能体判断某条规则应写入 AGENTS.md 还是 CLAUDE.md,并以不会让文件臃肿的方式写下,确保规则真正生效。