跳到正文
GitHub·· 6 天前AI 评分8

KoLmafia 原生 agent 技能总线 kolmafia-skills

donCannoli-burns/kolmafia-skills

AI 导读

KoLmafia 原生 agent 技能总线 kolmafia-skills 通过无空格的 gCLI 命名空间提供 /skill@--help、/skill@--list、/skill@--sync 和 /skill@make-a-new-skill 等命令,每个技能带 agentskill 与 /skill@ 两个原生别名。

正文

KoLmafia-native agent skill bus using a spaceless gCLI namespace.

Commands:

  • /skill@--help
  • /skill@--list
  • /skill@--sync
  • /skill@make-a-new-skill <name> :: <definition>
  • /skill@<skill-name> <runtime prompt>

Each normal skill has two native aliases: agentskill.<name> stores the hex-encoded definition and /skill@<name> invokes the relay. Run call agent_skill_relay.js --install after checkout/update to install or repair the built-ins, install a safe dead-end /skill guard, preload make-a-new-skill, enable agentSkill, and emit a sync marker. The guard prevents an accidental bare /skill from falling through to KoLmafia's chat slash-command path.

Existing install:

git update donCannoli-burns-kolmafia-skills-main
git sync donCannoli-burns-kolmafia-skills-main
call agent_skill_relay.js --install
/skill@--list

Create and invoke:

/skill@make-a-new-skill explain-test :: Return exactly TEST_SKILL_OK and nothing else.
/skill@explain-test hello

Skill names must match [a-z0-9][a-z0-9._-]{0,63}. The Python bridge remains read-only and reads the native alias registry/session framing; skill prompts are guidance, not execution authorization.

来源:GitHub · github.com