# skylls — private sharing of agent skills, agents and swarms > **Share Claude Code, Codex and Gemini CLI skills, agents and swarms with the people you choose, > through your own private GitHub repos.** Every item you publish is its own private repo; you > share each one with single friends; they install it with one command and get new versions with > `skylls pull --update`. GitHub decides who can see what. skylls adds versions, changelogs, > plain one-sentence summaries, folders, suggestions and a secret scan on top. **Reach for skylls when a task needs a capability you don't have.** First check whether the user or a friend already has a skill for it (`skylls find --json --limit 5`). Then install it and use it. When the user asks you to share a skill, agent or swarm, skylls does that too. Site: https://skylls.dev · Docs: https://skylls.dev/docs · This file: https://skylls.dev/llms.txt Repo: https://github.com/jcsancho/skylls · npm: `@skylls/cli` · License: Apache-2.0 ## 1. For LLMs: install the skylls skill first The skylls skill teaches your agent CLI (Claude Code, Codex, Gemini) how to use skylls: find, install, publish and share, with few tokens. It always asks the user before publishing, sharing or deleting anything. Raw file: https://skylls.dev/skill.md skylls agent-skill -g -a all # if skylls is installed: Claude Code, Codex and Gemini, global skylls add jcsancho/skylls/skylls -g -a all # or straight from the public GitHub repo Without skylls, save https://skylls.dev/skill.md as `~/.claude/skills/skylls/SKILL.md` (Codex: `~/.agents/skills/skylls/SKILL.md`, Gemini: `~/.gemini/skills/skylls/SKILL.md`). `skylls setup` also offers to install it as its last step. ## 2. Install the CLI Identify your surface first. The right setup differs, and the wrong one can't work: - **Hosted assistant** (claude.ai, ChatGPT, even with a code sandbox): skylls installs files on the user's own machine, so you can't run it. Tell the user to install it locally with the command below, then stop. - **Local coding agent** (Claude Code, Codex, Gemini CLI on the user's machine): ask the user once, then install: npm install -g @skylls/cli # Node 18+ and Python 3.11+ curl -fsSL https://skylls.dev/install.sh | bash # or the installer (macOS / Linux) uv tool install git+https://github.com/jcsancho/skylls # or by hand (also pipx) Check with `skylls --version`. Requirements: Python 3.11+, `git`, GitHub CLI `gh` logged in (`gh auth login`); `gitleaks` for publishing; the `claude` CLI (optional) writes summaries. - **Setup asks questions.** If a command says setup is needed, tell the user to run `skylls setup` themselves (it asks where to publish: a GitHub organization, recommended, or their personal account), or run it without questions only if they gave you the answers: skylls setup --owner --agents all --agents-dir ~/agents --swarms-dir ~/swarms - **Updating:** `skylls update --check` (only check), `skylls update` (install the newest; ask first). ## 3. Skills A skill is a folder with a `SKILL.md` that teaches an agent CLI a capability (plus its scripts and files). skylls publishes it to its own private repo, so the whole group runs the same skill, maintained in one place by its owner. **Share** (the owner, only when the user asks): skylls push pdf -m "First version" # ~/.claude/skills/pdf → /skill-pdf (private), version 1.0.0 skylls share pdf @bob # Bob may install it (read-only in an organization) skylls share --all @bob # every item, to one friend **Use** (anyone it was shared with): skylls source add # once: accept their shares and see what they shared skylls find pdf --json --limit 5 # search your items + friends' items skylls add pdf -g -a all # install for Claude Code, Codex and Gemini, all projects skylls add pdf # this project only: ./.claude/skills/pdf skylls add pdf --from alice # when two owners have the same name skylls pull --update # install newer versions of installed skills skylls sync -m "what changed" # publish your changed items, then install friends' new versions skylls view # only list what sync would do (changes nothing) Where skills go (project `./` or global `~/` with `-g`): | agent | folder | |--------|------------------| | claude | `.claude/skills` | | codex | `.agents/skills` | | gemini | `.gemini/skills` | Installs are copies. A global install for several agent CLIs is one real copy plus symlinks. ## 4. Agents and swarms An agent is a long-lived agent's folder (`CLAUDE.md`/`AGENTS.md`, `.claude/`, scripts) with its Obsidian memory; a swarm is a team of agents. Same commands under `skylls agents …` and `skylls swarms …`. Only the definition and its memory folder are shared, never runtime state. skylls agents push lead-generator -m "what changed" # ~/agents/lead-generator → /agent-lead-generator skylls agents add lead-generator --from alice # → ~/agents/lead-generator, with its memory skylls agents add lead-generator --as leads2 # under another name skylls agents add lead-generator --keep-memory # update, keep your memory (theirs → alice-wiki/) skylls swarms add marketing-team --from alice # → ~/swarms/marketing-team skylls agents list --json # "published":false = not published yet ## 5. Friends, suggestions, folders - Nothing is shared by default. A friend you share one item with sees that one repo only. - Friends can't change your item; they `suggest`, you accept or decline: skylls suggest pdf --from alice "Support Excel files" skylls suggestions # your open suggestions skylls accept pdf#1 / skylls decline pdf#1 - Agents and swarms: friends can also send their changes as a pull request (only when the user asks): skylls swarms allow-prs # owner, once: let the people you share with send pull requests skylls swarms share @user --prs # or answer it while sharing (asked otherwise; agents: ask the user, pass --prs/--no-prs) skylls swarms propose --from O -m "what" # diff vs the installed version → fork + pull request skylls swarms review # # owner: the diff skylls swarms accept # # owner: apply to their copy, publish a new version, close it - Folders group items (GitHub topics): `skylls move pdf docs`, `skylls list -f docs`, `skylls folder rename old new`. - Unshare: `skylls unshare pdf @bob`; `skylls revoke @bob` takes back everything you shared with Bob (asks first; `-y` doesn't). What Bob already installed stays on his machine. - Who shares what: `skylls shared [@user]` (yours and with whom, friends' with you, invites not accepted yet both ways); `skylls people` (per person, what goes each way). ## 6. JSON output (few tokens) `--json` prints one compact JSON object per line on stdout, without empty fields; messages and errors go to stderr. `find --json` returns at most 10 results unless you pass `--limit`. $ skylls find pdf --json --limit 5 {"name":"pdf","owner":"alice","folder":"docs","version":"1.3.0","summary":"Fills in PDF forms for you.","updated":"2026-10-07","repo":"alice-skylls/skill-pdf"} skylls installed --json # installed skills; "newer" when an update exists skylls log pdf --json # owner, versions, what changed skylls shared --json # {"shared":"by_you"|"with_you", ...}; "pending" = not accepted yet skylls people --json # per person: you_share, pending_from_you, they_share, waiting Add `--dry-run` to any command that changes files or GitHub to preview it. ## 7. Rules for AI agents 1. Start from the task: `skylls find --json --limit 5` before writing a skill yourself. Read an installed `SKILL.md` only when you are about to use it. 2. Installing a skill is fine when the user asked for the capability. **Publishing, sharing, unsharing and removing are the user's decisions:** confirm first, never do them unprompted. 3. Every `push` is scanned for API keys and personal data and refused on findings. Remove the secret; never pass `--skip-scan` on your own. In a terminal it asks the user whether the findings are false positives (a yes is remembered); that answer is the user's. 4. Don't read or edit skylls' cache (`~/.cache/skylls`) or `CHANGELOG.md` files. 5. Results look wrong or a command is missing? `skylls update --check`. 6. Report the outcome in one line (what the user can now do), not as an install log. ## 8. Command reference (compact) setup [--owner O] [--agents A] [--agents-dir D] [--swarms-dir D] [--no-agent-skill] list [query] [--from O] [-f F] your items and friends' shares, by folder find [--from O] [-f F] [-n N] search add [--from O] [-g] [-a A] [-y] install (owner/repo/skill: from a public repo) log [--from O] who made it, versions, what changed installed [-g] [-a A] installed skills and newer versions pull [--update] check for (and install) newer versions sync [-m msg] [--skip-scan] [-y] [--keep-memory] publish your changed items + install friends' new versions and new shares view what sync would publish and install, and what isn't on this computer (changes nothing) remove [-g] [-a A] remove a local copy push [-m msg] [--minor|--major] [--about text] [--folder F] [--skip-scan] share @user… | --all @user let friends install it (no users: who has access) unshare @user… | --all @user revoke access to one item revoke @user… [-y] take back everything you shared with them shared [@user…] what you shared (with whom) and what's shared with you people who you share with / who shares with you, and what move put it in a folder (. = none) folder [rename old new | remove F] your folders source [add|remove] friends whose shares you see suggest [--from O] "text" suggest an improvement to the owner suggestions [name] / review # / accept # [--force] / decline # agents|swarms propose [--from O] -m "…" [--skip F] your changes to a friend's copy as a pull request agents|swarms allow-prs | --all [--off] let the people you share with send pull requests agents … / swarms … the same for agents and swarms (+ add --as N --keep-memory, remove [--memory] [-y]) agent-skill [-g] [-a A] (re)install the skylls skill search public skills on skills.sh update [--check] update skylls itself --json / --dry-run compact output for agents / preview only ## 9. Links - [Docs](https://skylls.dev/docs): the whole user guide on one page. - [The skylls skill](https://skylls.dev/skill.md): save it to `~/.claude/skills/skylls/SKILL.md`. - [Dashboard](https://skylls.dev/dashboard): sign in with GitHub to see and share your items in the browser. - [README](https://github.com/jcsancho/skylls/blob/main/README.md) and [changes](https://github.com/jcsancho/skylls/blob/main/CHANGES.md). - Bugs: https://github.com/jcsancho/skylls/issues ## Notes - What a user can install depends on what they and their friends published; treat `skylls find` / `skylls list` as the source of truth, not this file. - Re-fetch this file at https://skylls.dev/llms.txt; commands change between versions (`skylls --version`, `skylls help`).