Repository navigation
feat(import): import cli skills, commands and marketplaces - #317
Merged
Merged
Conversation
nixuuu
force-pushed
the
feat/cli-import-7
branch
from
November 7, 2026 09:02
30f9a24 to
8c9a070
Compare
nixuuu
force-pushed
the
feat/cli-import-7
branch
2 times, most recently
from
November 7, 2026 10:14
b480e8b to
d77b9e2
Compare
nixuuu
force-pushed
the
feat/cli-import-7
branch
from
November 7, 2026 10:18
d77b9e2 to
be0b5f2
Compare
nixuuu
force-pushed
the
feat/cli-import-7
branch
from
November 7, 2026 10:26
be0b5f2 to
622ac74
Compare
Settings → Import lists the skills of every CLI home and of the device's ~/.agents, once per skill across CLIs, and imports them into the library for the source worker's Canopy homes. Claude commands and Codex prompts become skills when chosen. Marketplaces are added from their repositories; plugins are listed for approval in Agent environment and never activated by an import. See docs/import.md.
nixuuu
force-pushed
the
feat/cli-import-7
branch
from
November 7, 2026 10:56
622ac74 to
9cc77b0
Compare
nixuuu
marked this pull request as ready for review
November 7, 2026 11:13
This was referenced Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stage 7 of the CLI import (stack B). Design:
docs/import.md("Skille i pluginy").What
skills/<name>/in the Claude, Codex and Grok homes, and the device's~/.agents/skills/.SKILL.mdwith name and description; limits of 1000 files, 1 MiB per file, 25 MiB in total), so the scan's digest is the checksum the library will store.commands/**.mdand Codexprompts/*.mdget a generatedSKILL.md. They are unticked by default.SaveLibrarySkill(same validation, limits and audit as an upload), assigned to the source worker's Canopy platform homes only. Replace adds a new version. Undo removes the skill or restores the previous full definition, including repository provenance, unless the definition changed since.known_marketplaces.jsonand Codex[marketplaces.*](git over HTTPS) are added as on manual add.Why
Skills and commands are the reusable part of a CLI setup. Bringing them into the Agent environment library makes them available in Canopy threads with the library's review and audit. Plugins stay a deliberate, per-file approval.
Verification
tests/integration/import-library-skills.test.ts(gRPC):~/.agentslock origin.Copy audit (docs/copy.md §8)
Security review fixes
library.test.ts: a Latin-1config.envwith a known credential blocks the skill and its read; marketplace URLs with?token=and user info are masked and unavailable.import-library-skills.test.ts: an assignment change at the same version keeps the skill on Undo.Re-check fixes
%74oken, each authority variant, masked responses and absent plan rows.autoUpdateandcredentialAccountId. Regressions verify the restored source/artifact, receipt-failure rollback, all source fields and the existing assignment-change guard.Round 3
%2574oken, deeper encoding and malformed escapes are unavailable and redacted. Worker fixtures verify masked scan metadata; the gateway regression independently verifies masked lists, rejected StartImport and no persisted credential plan.?design=compact#authenticationstays readable and available in both worker metadata and gateway lists. Classification uses actualname=valuepairs and whole credential-name tokens.Final targeted fixes
codeclassification. Multiline/quoted userinfo, spaced/quoted query values and code values containing dots are masked and unavailable.bun run check:tmppassed (1,695 passed, 161 skipped, 0 failed; nothing left in its temp directory), and the web production build passed.