create-skill
Create a shared company skill in HQ with a durable identity and ACL governance. Not for personal or local-only skills.
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 95
- Forks
- 18
01 前言 Front Matter
- name
- create-skill
- description
- Create a shared company skill in HQ with a durable identity and ACL governance. Not for personal or local-only skills.
- allowed-tools
- Bash(hq:*), Read, Write, Edit
02 资源文件 1
- 参考文档agents/openai.yaml208 B
03 SKILL.md 正文
Create a company skill
Create company skills through HQ's registration boundary. Do not create an
unstamped companies/{company}/skills/{slug}/SKILL.md directly.
Workflow
-
Resolve one company from the user's request, current company context, or
companies/manifest.yaml. Ask only when the company is genuinely ambiguous. -
Choose a lowercase kebab-case skill slug.
-
Reserve the immutable identity and create a stamped template without uploading it yet:
hq skill --company {company} create {slug} --no-sync -
Edit
companies/{company}/skills/{slug}/SKILL.md. Preserveskill_uidexactly. Write a specificname, a concise trigger-orienteddescription, optionaltags, and the complete operating instructions. -
Register the final metadata and sync the stamped file:
hq skill --company {company} create {slug} -
Report the canonical path and immutable skill ID. The create command surfaces only this skill into the local runtime; never hand-write a generated
.claude/skills/wrapper or run a fullhq reindexjust to make one new skill available.
Existing files
If an unstamped canonical SKILL.md already exists, run step 3 first. The
command registers the existing bytes and adds skill_uid atomically; it does
not replace the instructions. Then continue with steps 4–6.
If the skill is already stamped, edit it in place and run step 5. Registration is idempotent and preserves its existing FILE_ACL policy.
Governance
- New skills start Open: every active company member can edit through the company-wide FILE_ACL grant.
- Locked and Private are FILE_ACL policies controlled in HQ Console. Never emulate them in frontmatter or registry fields.
- Do not copy a
skill_uidinto another directory. A new skill gets a new ID; renaming its display name never changes its directory or ID.
04 同仓库更多 Skills
job
Deprecated alias for /schedule — Outpost recurring agent jobs. Prefer /schedule.
import-claude
Deprecated alias for /import-context — bootstrap HQ from your prior AI footprint (Claude Code, Codex, Grok, claude.ai history plus on-disk artifacts).
hq-whoami
Show current HQ Cognito identity and session expiry.
hq-share
Share HQ vault paths through single-use links or direct ACL grants.
hq-secrets
Use HQ CLI secrets safely through env injection or one-off exec.
hq-logout
Sign out of HQ Cognito and clear local tokens.