copilot-conventions

copilot-conventions is a skill for Claude Code from gosha70/code-copilot-team. It costs 28 tokens per session (1,260 once invoked), scanned A, original, MIT.

A shared set of working rules for coding agents using tools such as Claude Code, GitHub Copilot, Cursor, or local language models. It covers reading existing code, limiting changes, testing, and checking requirements.

In plain words
What is it for?
It is for planning, implementing, reviewing, and testing code changes while keeping them tied to the original request.
Why use it?
It reduces accidental scope expansion, unsupported guesses, and changes that are difficult to review.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions Claude Code.

Part of the code-copilot-team plugin — 24 skills shipped together

Good fit It is for planning, implementing, reviewing, and testing code changes while keeping them tied to the original request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gosha70/code-copilot-team/copilot-conventions
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add gosha70/code-copilot-team --skill copilot-conventions
Clone the repo
git clone --depth 1 https://github.com/gosha70/code-copilot-team

Made for: Claude Code.

Or install code-copilot-team, the plugin that ships this one along with the rest of its 24 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for copilot-conventions

README.md
[![agentmods](https://agentmods.dev/badge/skills/gosha70/code-copilot-team/copilot-conventions/github.svg)](https://agentmods.dev/skills/gosha70/code-copilot-team/copilot-conventions)
Your own site
<a href="https://agentmods.dev/skills/gosha70/code-copilot-team/copilot-conventions"><img src="https://agentmods.dev/badge/skills/gosha70/code-copilot-team/copilot-conventions/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for copilot-conventions

Your own site · 80×15
<a href="https://agentmods.dev/skills/gosha70/code-copilot-team/copilot-conventions"><img src="https://agentmods.dev/badge/skills/gosha70/code-copilot-team/copilot-conventions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,260 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 13
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.01260
Opus 5.5 $0.00011 $0.00504
Sonnet 5.5 $0.00006 $0.00252
Haiku 4.5 $0.00003 $0.00126

Measured 1mo ago against content hash 09e3477deb29, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

copilot-conventions scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

adapters/claude-code/plugin/skills/copilot-conventions/SKILL.md · 88 lines

How it starts

The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cross-Copilot Conventions

Shared rules that apply whether using Claude Code, GitHub Copilot, Cursor, or local LLMs. These conventions ensure consistent behaviour regardless of which AI tool is driving.

Core Contract

  1. Read before write — understand existing code and patterns first.
  2. Minimal changes — only modify what was requested.
  3. Show your work — explain changes, provide diffs.
  4. Test everything — run linters and tests after code changes.
  5. Ask when uncertain — do not guess at ambiguous requirements.
  6. Verify before diagnosing — when asked to fix a reported bug, re-run the failing test or reproduce the symptom first. The issue may already be fixed. Do not spend time diagnosing a problem that no longer exists.

Target Alignment and Complexity Control

Before planning, implementing, or approving agent-produced work:

  1. Restate the originating goal and concrete acceptance criteria. Derived plans and agent summaries do not replace the original request.
  2. Map every changed file and each new abstraction, interface, state, dependency, or test layer to a current requirement or a concrete correctness or safety failure. Remove or defer anything without that link.
  3. Prefer the smallest solution that fits the existing architecture. Do not turn narrow work into a framework, generalized engine, speculative state model, broad hardening exercise, or unrelated cleanup.
  4. Keep tests, documentation, and proof proportional to the risk and acceptance criteria. More artifacts are not evidence of better alignment.
  5. Complete the required path before optional improvements. Record useful extras as follow-up work instead of silently expanding scope.
  6. Before approval, ask: What can be removed without weakening correctness, safety, or the acceptance criteria?

For a handoff from Claude Code or any other agent, explicitly classify the change as on-target, overcomplicated, or off-target, and explain the evidence. Green tests do not compensate for scope drift. Judge the artifact rather than guessing at a vendor's intent; complexity required by a concrete failure mode is not overengineering when the link is explicit.

Read the full file on GitHub · 88 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 88 lines · 28 tokens per session scan A 09e3477deb29

Subscribe to this mod's changes

copilot-conventions is a skill published in the GitHub repository gosha70/code-copilot-team (7 stars, last pushed 17d ago), licensed MIT. It adds 28 tokens to every session and 1,260 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

agent-deck

Helper scripts live in this skill's scripts/ folder. Resolve them from the base directory shown when the skill loaded, not from the user's project.

asheshgoplani/agent-deck · 134 tokens

contributor

End-to-end open source contribution workflow: from scanning issues to submitting PRs. Use this skill whenever the user wants to contribute to an open source project, find issues to fix, submit a pull request, fork a repo to contribute, fix a GitHub issue, or mentions 'open source contribution'. Also trigger when they…

majiayu000/spellbook · 111 tokens

git-commit-smart

Generates meaningful, conventional commit messages automatically. Use when committing code changes. Analyzes diff to create descriptive commits following best practices.

majiayu000/spellbook · 32 tokens

push-all

Use when the user explicitly asks to stage all current changes, create a commit, and push to the remote after safety checks.

majiayu000/spellbook · 28 tokens

review-gate

Use before an agent-produced diff is committed, pushed, opened as a PR, merged, landed, or applied to user files when explicit implementation approval is missing. Trigger for review gate, review pack, approve before landing, diff first then land, human approval, merge gate, commit gate, push gate, or PR readiness.…

majiayu000/spellbook · 95 tokens

dev-architecture-playbook

Route full software-development architecture work from product intent through design, implementation, testing, release, and operations. Use when the user asks for a complete development architecture, wants to know which Spellbook skills to combine, needs an execution path across…

majiayu000/spellbook · 81 tokens