lark-cli update reports Skills synced but installed Skill tree has unresolved references
Summary
lark-cli update reports that the CLI and 27 official AI Skills were successfully synced, but the installed Skill tree can contain many unresolved relative references.
This affects Agent workflows that load a referenced guide or script after the main SKILL.md has triggered.
Environment
lark-cli: 1.0.81
- Installation: npm global install
- Platform: macOS arm64
- Skill root:
$HOME/.agents/skills
Steps to reproduce
- Run
lark-cli update --json.
- Confirm the result reports
skills_action: "synced", official: 27, and updated: 27.
- Scan every installed
lark-*/SKILL.md and resolve local Markdown/resource references relative to that Skill directory.
Actual behavior
Immediately after the successful update:
- 183 referenced paths did not resolve locally.
- 165 of those files exist in the official
v1.0.81 source tag under skills/, but were not present in the synced local tree.
- 18 references target resources that exist under another Lark Skill, but the source
SKILL.md uses a same-directory relative path.
Examples:
lark-mail/SKILL.md references references/lark-mail-send.md, references/lark-mail-draft-create.md, and other guides that exist in the repository tag but were absent locally.
lark-calendar/SKILL.md references references/lark-note-detail.md, while that file exists under lark-note/references/.
lark-minutes/SKILL.md references references/lark-drive-upload.md, while that file exists under lark-drive/references/.
The CLI binary and basic commands remain usable, so ordinary update checks can pass while complex Agent paths fail later with file-not-found errors.
Expected behavior
A successful Skill sync should produce an installed tree in which every relative file reference from every official SKILL.md resolves.
Cross-Skill references should either use the correct ../lark-*/references/... path or be copied/generated into the referring Skill package by design.
Suggested fix
- Make the updater Skill payload match the files in the release tag.
- Add an install-artifact integrity test that scans relative links and resource paths after packaging/sync.
- Correct or explicitly materialize the 18 cross-Skill references.
- Treat unresolved references as a failed or partial Skill sync instead of returning only
skills_action: "synced".
Acceptance criteria
- Fresh install/update of
v1.0.81 or a later release yields 0 unresolved references.
- The check covers
references/, scripts/, assets/, and explicit relative Markdown links.
- A deliberately missing resource makes the packaging/update test fail.
- CLI/API/auth behavior is unchanged; this issue is limited to the installed AI Skill artifact.
lark-cli update reports Skills synced but installed Skill tree has unresolved references
Summary
lark-cli updatereports that the CLI and 27 official AI Skills were successfully synced, but the installed Skill tree can contain many unresolved relative references.This affects Agent workflows that load a referenced guide or script after the main
SKILL.mdhas triggered.Environment
lark-cli: 1.0.81$HOME/.agents/skillsSteps to reproduce
lark-cli update --json.skills_action: "synced",official: 27, andupdated: 27.lark-*/SKILL.mdand resolve local Markdown/resource references relative to that Skill directory.Actual behavior
Immediately after the successful update:
v1.0.81source tag underskills/, but were not present in the synced local tree.SKILL.mduses a same-directory relative path.Examples:
lark-mail/SKILL.mdreferencesreferences/lark-mail-send.md,references/lark-mail-draft-create.md, and other guides that exist in the repository tag but were absent locally.lark-calendar/SKILL.mdreferencesreferences/lark-note-detail.md, while that file exists underlark-note/references/.lark-minutes/SKILL.mdreferencesreferences/lark-drive-upload.md, while that file exists underlark-drive/references/.The CLI binary and basic commands remain usable, so ordinary update checks can pass while complex Agent paths fail later with file-not-found errors.
Expected behavior
A successful Skill sync should produce an installed tree in which every relative file reference from every official
SKILL.mdresolves.Cross-Skill references should either use the correct
../lark-*/references/...path or be copied/generated into the referring Skill package by design.Suggested fix
skills_action: "synced".Acceptance criteria
v1.0.81or a later release yields 0 unresolved references.references/,scripts/,assets/, and explicit relative Markdown links.