plugin-marketplace-starter
AGENTS.md1 starsChanged 22 days agoMITView on GitHub
Follow README.md, CONTRIBUTING.md, and the guides in docs/ for team setup, package layout, installation, versioning, validation, evals, CI, and host checks. Update those instructions in place; don't duplicate them here. - Scaffold a plugin with npm run new-plugin -- <name> (with --with agent, mcp, hook, or extension, and --no-skill when it has no skill), remove one with npm run remove-plugin -- <name> (remove-example for the shipped examples), and rename the marketplace with npm run rename-marketplace, rather than editing the catalog,…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,843 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository6 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- bug-reportSkill
- adversarial-reviewSkill
- skill-authoringSkill
- json-configurationSkill
- team-brainstormSkill
The file
We split this AGENTS.md into the rules it gives an agent
12 rules. About 1 is common, 6 are distinctive, and 5 are very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 3
Follow README.md, CONTRIBUTING.md, and the guides in docs/ for team setup, package layout, installation, versioning, validation, evals, CI, …
- Very specific: line 20
Keep .vally.yaml in step with the plugins: paths.skills lists every plugin's skills directory, and path params point at files that exist.
- Very specific: line 25
Use the Agent Plugins 1.0 layout: root plugin.json, skills/, and mcp.json.
- Very specific: line 33
Don't adopt legacy .plugin/ or .claude-plugin/ layouts from documentation.
- Distinctive: line 41
Don't add a UI framework or database.
- Distinctive: line 52
Don't claim a customization type works in a host unless official docs say so.
- Very specific: line 57
Keep evals outside plugins, grouped by workflow under evals/.
- Distinctive: line 63
Never stage answer keys or eval specifications into the agent's workspace.
- Very specific: line 75
When upgrading Vally or Copilot, update the pins in package.json and the lockfile together, and verify real custom-agent delegation and MCP …
- Distinctive: line 81
Keep remote plugins opt-in.
- Common: line 90
Keep secrets and token-bearing URLs out of files.
- Distinctive: line 93
Do not commit, push, publish, change visibility, or modify GitHub permissions unless the user requests it.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Maintaining this marketplace
Follow README.md, CONTRIBUTING.md, and the guides in docs/ for team setup, package layout, installation, versioning, validation, evals, CI, and host checks. Update those instructions in place; don't duplicate them here.
Agent-specific rules
- Scaffold a plugin with
npm run new-plugin -- <name>(with--with agent,mcp,hook, orextension, and--no-skillwhen it has no skill), remove one withnpm run remove-plugin -- <name>(remove-examplefor the shipped examples), and rename the marketplace withnpm run rename-marketplace, rather than editing the catalog, overlay, and.vally.yamlby hand. Name a plugin's support files after it (evals/graders/<name>.mjs,test/<name>-*.test.mjs) so removal finds them. - Group plugins by workflow, not by asset type. Keep every in-repo example self-contained and independently installable, without external services. Remote catalog references are separate from the local examples.
- Keep
.vally.yamlin step with the plugins:paths.skillslists every plugin'sskillsdirectory, and pathparamspoint at files that exist. Live-repository tests check invariants, not a fixed plugin list; put example-specific assertions in tests that skip when the example is gone, and list every file an example owns in scripts/examples.mjs. - Use the Agent Plugins 1.0 layout: root
plugin.json,skills/, andmcp.json. Copilot agents (agents/), slash commands (commands/), rules (rules/), hooks (hooks/hooks.json), LSP servers (lsp.json), and SDK extensions (extensions/) live undercom.github.copilot/. Check the plugin reference before adding a component type the examples don't show. Don't ship rules or slash commands until the reference documents their file format; validation only checks that those files aren't empty. Use a skill for shared standards. Don't adopt legacy.plugin/or.claude-plugin/layouts from documentation. VS Code automation templates (automations/*.automation.mdat the plugin root) are a VS Code-only capability, not an Agent Plugins 1.0 component, andverifydoesn't check them. - Instruction files (
.github/copilot-instructions.md,*.instructions.md,AGENTS.md) and prompt files apply only to the repository they're in. To share guidance through the marketplace, package it as a skill or agent, as docs/customization-types.md explains. - Don't add a UI framework or database. Never vendor the runtime SDK. The only
build step regenerates committed artifacts (the MCP server bundle, the
authoring grader, and their notices). Run
npm run buildafter changing their sources and commit the generated files with the change. Never make an installed plugin depend on this checkout'snode_modules. - Skill and agent descriptions explain when to invoke them. Put detailed instructions in the body, and don't duplicate a skill as a command.
- Formatter hooks must not return permission decisions. Return
{}for no-ops, and never describe the hook as a security boundary or replacement for CI. Prefix hook messages with<plugin-name>:, and never put file contents or raw parser messages in them. See docs/hooks.md. - Don't claim a customization type works in a host unless official docs say so; keep the matrix in docs/customization-types.md in step, and write "not verified" where they don't.
- Preserve coverage when replacing an example; don't delete tests just to make validation pass.
- Keep evals outside plugins, grouped by workflow under
evals/. Update the corresponding evals whenever adding or changing an in-repo skill, agent, hook, extension, or MCP tool. Don't replace real skill, tool, or agent invocation assertions with output keywords. Keep eval-only transports and development dependencies outsideplugins/. Headless contract results aren't proof of native canvas rendering. - Never stage answer keys or eval specifications into the agent's workspace. Use only synthetic fixtures and disposable directories, not git worktrees.
- Inspect failed trajectories before changing assertions. Don't loosen a check
just to get green results, and don't accept the default agent's answer when a
custom agent failed to launch. A grader infrastructure exception must report
status: error, not a failed behavioral verdict. - Valid behavioral failures may be report-only locally; tooling, configuration,
and grader errors must fail. Never hide failures with blanket catches or
continue-on-error. npm run eval:smoke,npm run eval, and the evals workflow spend AI credits. Don't run them unless the user asks, and don't turn onENABLE_EVALSfor anyone. Static checks don't establish behavioral quality.- When upgrading Vally or Copilot, update the pins in
package.jsonand the lockfile together, and verify real custom-agent delegation and MCP behavior, not only schema validity. CI runs evals through the same launcher as local runs. When you touch the workflows, refresh every action's commit SHA (with its version comment), and keep the evals workflow on a Node major thatvalidate.ymltests. - Keep remote plugins opt-in. The repository settings overlay must never enable
a remote plugin; that's a deliberate security rule, so developers install
remote plugins themselves. A remote entry's
namemust match the upstreamplugin.jsonname, and its source must pin a fullshaand should name itsref.npm run check-remoteschecks pins against GitHub; it uses the network, so keep it out ofverify. Validate catalog metadata without fetching or executing upstream code in checks, and document private-repository access. Don't claim the local evals cover remote assets. - Keep secrets and token-bearing URLs out of files. Use host authentication for private repositories, not embedded credentials. Never copy private organizational code into the examples.
- Do not commit, push, publish, change visibility, or modify GitHub permissions unless the user requests it.
Authoring references
Consult the relevant contract before changing package or catalog fields:
- Agent Plugins 1.0 specification.
- Canonical manifest schema and MCP configuration schema, vendored in schemas/.
- Creating Copilot plugins.
- Creating a team marketplace.
- CLI plugin and catalog reference.
- Vally eval schema and Vally CI guide.
The README's references cover skills, hooks, VS Code, and this repository's guides.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

