Skip to content
CodeBook

Import skills from a repository

Review selected instruction files at an exact GitHub commit, preserve their source and license, and publish updates without changing workers automatically.

Open Agent marketplace → Workspace skills → Import from a repository. A repository pack can contain reusable skills, agent briefs, rules, command instructions and supporting files. You choose which instruction files become workspace skill packages.

You need write access to the workspace and current access to its organization. The source must be an approved GitHub repository connected through Bookbag. Connect and approve the repository in Bookbag’s organization settings before importing it. Pasting an arbitrary repository URL is not supported.

Preview the source

  1. Choose an approved repository.
  2. Enter a branch, tag or commit. Optionally enter a repository-relative pack folder, such as .agents/skills, to narrow the preview.
  3. Select Preview repository pack. CodeBook resolves the ref to an exact commit and shows that commit, the pack’s content hash and its files.
  4. Expand Preview instructions and the recorded license for each component you are considering. Nothing is selected automatically.

The preview recognizes SKILL.md, Markdown agent and command files, rules in Markdown or MDC files, and AGENTS.md or CLAUDE.md. The list distinguishes these instruction components from hooks, scripts and supporting files. Only non-executable UTF-8 instruction files can be selected; symbolic links cannot be imported.

Each imported version records the source repository, requested ref, resolved commit, file path, content hash, import time and the nearest available license file. Version history → Repository source shows that evidence later. If no license file is found, the preview says so; it does not establish permission to reuse the content.

Import selected instructions

Select between one and 20 instruction components, then choose Import selected instructions. Each selected component becomes an immutable package version, available to members of the workspace. The selected import succeeds together or is refused together.

Imports use the commit you reviewed even if its branch has moved. A preview expires after 15 minutes; preview again if it expires, access changes or another person changes a selected skill. Retrying the same successfully imported snapshot reuses its existing version.

Importing does not change any worker. In Compose a worker, choose the exact versions, then Validate and preview → Apply composition. Dependencies, conflicts, instruction limits and worker permissions still apply.

Command files become instruction text. They do not register commands. Hooks, scripts, binaries and supporting files are listed for review but are never installed or executed by this importer. Permission declarations in a file do not grant tools or repository access. This also means a skill that relies on a bundled script or reference file may need adaptation before it is useful in CodeBook.

Review an update

Preview the same repository, ref and folder again. A previously imported file is matched to its existing package. The preview identifies unchanged versions and shows Compare with current version when a new version would be published.

Select the updates you want. Existing package names, descriptions, explicit dependencies and conflicts are preserved. A local instruction edit remains in version history; a source update publishes a separate version rather than merging the two instruction bodies. Existing workers keep their exact pins until you apply a new composition. To roll back, select an older version and apply it.

Editing an imported skill through Publish next version creates a local version. It does not claim that those edited instructions came unchanged from the source commit.

Preview limits

A preview supports up to 100 files, 40 instruction or license reads and 300 KB of text. Each instruction or license file must fit within 30 KB. Choose a smaller pack folder if these limits are exceeded. Incomplete or oversized repository trees are refused rather than treated as a complete pack.

Repository imports currently support GitHub connections approved through Bookbag. They do not install an agent runtime, project files or a local CLI integration. Use Agent studio when an instruction change also needs evaluation and release control.

Use a skill in an outside agent

To send a reviewed CodeBook skill back to a repository in another client’s layout, project the skill.