Skip to content

fix(hosts): point kimi-cli host at Kimi Code's ~/.agents/skills - #41

Merged
samzong merged 2 commits into
lathe-cli:mainfrom
delete-cloud:main
Sep 10, 2026
Merged

samzong merged 2 commits into
lathe-cli:mainfrom
delete-cloud:main

Conversation

@delete-cloud

@delete-cloud delete-cloud commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #40

Summary

kitup host id kimi-cli (alias kimi-code-cli) is the adapter for Kimi Code, not the older kimi-cli product.

In 0.1.4 that adapter's userSkillsDirs prefers ~/.config/agents/skills (Amp). Kimi Code 0.41.0 scans ~/.agents/skills and $KIMI_CODE_HOME/skills, not the Amp path.

This is a host-data fix only (spec/hosts.json + generated constants). The secondary Amp path is not kept: choose_scope_path prefers an already-existing candidate, so leaving it would still install into a directory Kimi Code does not read when Amp has already created ~/.config/agents/skills.

Testing

  • node scripts/check.mjs hosts / cases / generated-hosts (run in the contributor environment)
  • Regenerated rust/ts/go/python host constants via node scripts/sync-hosts.mjs

Kimi Code reads ~/.agents/skills (shared) and its data-root skills
directory, but not ~/.config/agents/skills. Keep the config path as a
secondary entry so earlier kitup installs there remain updatable, and
update the auto-host-detection golden case to the new canonical target.
…allback

Kimi Code does not read ~/.config/agents/skills, but kitup's
choose_scope_path prefers an already-existing scope directory on fresh
installs, so keeping the path as a secondary entry silently installed
new skills into a location Kimi never scans on hosts where
~/.agents/skills does not exist yet. Remove the fallback entirely and
document why.
@delete-cloud delete-cloud changed the title fix(hosts): install kimi-cli user skills into ~/.agents/skills fix(hosts): point kimi-cli host at Kimi Code's ~/.agents/skills Sep 10, 2026

@samzong samzong left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@samzong
samzong merged commit 3cdf897 into lathe-cli:main Sep 10, 2026
11 checks passed
@samzong

samzong commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

@delete-cloud thanks for the clean fix.

samzong pushed a commit to samzong/confer that referenced this pull request Sep 12, 2026
* feat(adapters): add Kimi Code via native ACP

Add `kimi` as a seat agent and MCP host. Seats run `kimi acp` over native
ACP; model and reasoning_effort (thinking) are applied through
session/set_config_option, unattended seats use mode=auto, and resume
uses session/resume. Readiness checks the Kimi Code data root
($KIMI_CODE_HOME, default ~/.kimi-code); confer mcp install writes
$KIMI_CODE_HOME/mcp.json; the Skill installs to kitup's kimi-cli host.
KIMI_CODE_HOME is pinned on the ACP child.

Patch crates.io kitup to lathe-cli/kitup main so kimi-cli user skills
land in ~/.agents/skills (lathe-cli/kitup#41). Remove the patch after
the next kitup crates.io release.

* style: rustfmt Kimi ACP additions

CI make check failed on cargo fmt -- --check. No behavior change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Kimi Code skills install to ~/.config/agents/skills via the kimi-cli host id

2 participants