Agent skill
alma-skill-sync
用于同步 Alma 技能到斜杠命令(Prompts)列表。当用户新增技能、修改技能名称或需要清理无效的快捷指令时使用。
Install this agent skill to your Project
npx add-skill https://github.com/ttmouse/skills/tree/main/alma-skill-sync
SKILL.md
Alma Skill Sync
该技能负责将存储在 ~/.claude/skills/ 目录下的技能同步到 Alma 的斜杠命令(/)列表中,使用户可以通过输入 /技能名 快速调用。
使用场景
- 新增技能后:当你创建了新的技能,希望在输入框输入
/就能看到它。 - 清理无效指令:当你删除了某些技能,希望对应的斜杠命令也一并消失。
- 状态检查:列出当前的同步状态。
工作流程
1. 同步技能 (Sync)
运行同步脚本,将所有现有的技能注册为 Alma 的 Prompts。
python3 /Users/douba/.claude/skills/alma-skill-sync/scripts/sync_to_alma.py
2. 清理模式 (Clean Sync)
运行同步脚本并开启清理模式,这会移除那些在技能目录中已不存在但仍在 Alma Prompt 列表中的快捷指令。
python3 /Users/douba/.claude/skills/alma-skill-sync/scripts/sync_to_alma.py --clean
注意事项
- API 依赖:该技能依赖于 Alma 在
localhost:23001提供的 REST API。 - 匹配规则:快捷指令的名称将与技能
SKILL.md中定义的name字段严格一致。 - 触发机制:生成的快捷指令内容为
@技能名,这会利用 Alma 的原生语义引擎激活对应的技能。
资源说明
- 脚本位置:
/Users/douba/.claude/skills/alma-skill-sync/scripts/sync_to_alma.py - 参考资料:
/Users/douba/.claude/skills/alma-skill-sync/references/api_reference.md包含了 Alma 的 API 规范。
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
template-skill
Replace with description of the skill and when Claude should use it.
prompt-analyzer
提示词分析与洞察 - 查看Prompt详情、对比差异、推荐相似提示词、元素库统计
meta-skill
元技能 - 对话复盘与技能进化。在对话结束后分析:已用技能是否可优化、未形成技能的流程是否值得沉淀。当用户说"复盘"、"回顾对话"、"优化技能"、"沉淀经验"、"这个流程可以复用吗"、"技能体系复盘"、"技能健康检查"等关键词时触发,或用户显式调用 /meta-skill。
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.
downloads-organizer
Automatically organize and clean up downloads folder by categorizing files, removing duplicates, and optimizing storage space
gemini-gen
Generates images using Google's Gemini model. Prioritizes standard resolution to save quota. Automatically opens images on macOS.
Didn't find tool you were looking for?