Repository navigation
Conversation
skills/source-coop/SKILL.md tells agents when to use the CLI and sends them to --help for the rest. .claude-plugin/ publishes it as a plugin. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Claude finished @alukach's task in 12s —— View job ✅ No blocking issues — safe to merge. I read the full diff (plugin manifests,
Notes (non-blocking)
Simplify (ponytail)
💰 Estimated review cost: $0.12 · 0m12s · 5 turns |
Contributor
|
Docs preview: https://cli.source.coop/pr-preview/pr-98/ Built from 9f4262a. It goes live a minute or two after this run, once GitHub Pages deploys it, and is removed when the PR closes. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
AI agents can now learn when to reach for
source-coop, not only how. A new Agent Skill,skills/source-coop/SKILL.md, triggers when you mention Source Cooperative, source.coop or data.source.coop, and sends the agent tosource-coop --helpfor everything else. The repository is also a Claude Code plugin marketplace, so it installs in two lines:How it behaves
The skill is 25 lines and copies no flags, per AGENTS.md ("A skill … should say when to use the CLI and point to
--help"). It tells the agent to:source-coop --help, then<command> --help, since help matches the installed version; if the CLI is missing, point the user to https://cli.source.coop/latest/install/;source-coop auth status --json; if not signed in, ask the user to run! source-coop auth login(it opens a browser, so the agent never runs it), or useSOURCE_TOKEN;--json, parse stdout, read errors as JSON on stderr; exit 3 means fixfield_errorsand retry, 4 not signed in or not allowed, 5 not found;-F -, never use-i, ask before deleting, revoking or leaving, then pass--yes;source-coop apifor anything without a command;s3://ACCOUNT/PRODUCT/onhttps://data.source.coop(public data needs no sign-in), with each tool's settings left to https://docs.source.coop/data-proxy rather than copied into the skill, and look insource-coop --helpfor credentials (creds, andexecwhere installed, so it reads right before and after feat: exec, to run S3 tools against the data proxy, signed in or not #43);The marketplace is named
source-cooperativeand lists one plugin,source-coop, whose root is the repository root ("source": "./").plugin.jsonhas noversion, so installs follow the latest commit on main rather than being pinned.Docs changes
##heading changed, so the contents list and site pages are the same. Preview: https://cli.source.coop/pr-preview/pr-98/scripts-and-ai-agents/#agent-skillFOR_SCRIPTSand the CLI's behaviour, changed in the same commit, andclaude plugin validate .checks the plugin.Not in this PR
version.claude plugin validatewarns that it's missing. Without one, users get each new commit on main; with one, someone (or release-please) must bump it. Worth adding if the skill ever needs to match released CLI versions.llms.txton the docs site. Could follow the same rule: say when to use the CLI and point to--help.Testing
claude plugin validate .(Claude Code 2.1.319): passes, with warnings for the missingversion, the repository'sCLAUDE.mdat the plugin root (not loaded by plugins; harmless), and no icon.CLAUDE_CONFIG_DIR, both from the local checkout and from GitHub at this branch (/plugin marketplace add source-cooperative/source-coop-cli#feat/agent-skill):claude plugin details source-cooplistsSkills (1) source-coop.cargo testandcargo test --features staging: 179 passed (no Rust changes, no tests added).🤖 Generated with Claude Code