acreadiness-policy — GitHub Copilot skill: setup and use
Guides the creation, configuration, and execution of AgentRC readiness policies. Useful for setting custom scoring weights, strict thresholds, and CI gating.
npx skills add github/awesome-copilot --skill acreadiness-policyWhat acreadiness-policy does
This skill manages AgentRC readiness policies. It generates JSON configuration files using three sections: criteria, extras, and thresholds. Teams can silence checks like observability for static sites or elevate critical items like readme and codeowners. Impact weights range from 0 for info up to 5 for critical. Built-in templates include strict.json, ai-only.json, and repo-health-only.json.
Execution relies on three subcommands: show, new, and apply. The apply action runs npx -y github:microsoft/agentrc readiness and supports chained files, allowing organization baselines to merge with team overrides. The skill cautions against outright disabling checks. It suggests overriding impact levels instead so gaps stay visible in the report.
Adding custom checks requires a plugin. JSON policies can only disable checks, override impact, or set pass rates. If your project does not need CI gating or custom weights, standard AgentRC defaults will work fine without this skill.
What it helps with
- disable irrelevant repository checks in AgentRC
- enforce pass-rate thresholds in CI pipelines
- override impact weights for critical criteria
- chain organization baselines with team-specific policies
Example prompts for the agent
- /acreadiness-policy new strict-frontend
- /acreadiness-policy show
- Apply ./policies/strict.json and run readiness checks with /acreadiness-policy apply
How to install acreadiness-policy
1Skills CLI (Vercel)
npx skills add github/awesome-copilot --skill acreadiness-policy2GitHub CLI
gh skill install github/awesome-copilot acreadiness-policy3Manually: put the files in place
.github/skills/acreadiness-policy/SKILL.md1Skills CLI (Vercel)
npx skills add github/awesome-copilot --skill acreadiness-policy -a claude-code2Manually: put the files in place
~/.claude/skills/acreadiness-policy/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/acreadiness-policy/
Manually: put the files in place
.agents/skills/acreadiness-policy/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/acreadiness-policy/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
Platform CLI
gemini skills install https://github.com/github/awesome-copilot --path skills/acreadiness-policyManually: put the files in place
.devin/skills/acreadiness-policy/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set554
The whole set →Similar
Questions about acreadiness-policy
How do I install acreadiness-policy in GitHub Copilot?
Run npx skills add github/awesome-copilot --skill acreadiness-policy or use the GitHub CLI command gh skill install github/awesome-copilot acreadiness-policy.
What does acreadiness-policy do?
It configures and applies AgentRC evaluation policies, letting you silence irrelevant checks, change scoring weights, and gate CI builds.
Can acreadiness-policy create brand-new detection rules?
No. Policy files only modify thresholds, disable checks, or override impact levels. To write new detection logic, you must author a TypeScript plugin for AgentRC.
Source text
SKILL.md · MIT
---
name: acreadiness-policy
description: 'Help the user pick, write, or apply an AgentRC policy. Policies customise readiness scoring by disabling irrelevant checks, overriding impact/level, setting pass-rate thresholds, or chaining org baselines with team overrides. Use when the user asks about strict mode, AI-only scoring, custom weights, CI gating, or wants org-wide standardisation.'
argument-hint: "[show | new <name> | apply <path-or-pkg>] — e.g. /acreadiness-policy show, /acreadiness-policy new strict-frontend"
---
# /acreadiness-policy — AgentRC policies
Use this skill when the user asks about **policies**, **strict mode**, **custom scoring**, **disabling checks**, **org standards**, or **CI gating** of readiness.
A policy is a small JSON file with three optional sections — `criteria`, `extras`, `thresholds` — that customise how AgentRC scores readiness.
## Built-in examples
AgentRC ships with three example policies in `examples/policies/`:
| Policy | What it does |
|---|---|
| `strict.json` | 100% pass rate, raises impact on key criteria |
| `ai-only.json` | Disables all repo-health checks, focuses on AI tooling |
| `repo-health-only.json` | Disables AI checks, focuses on traditional quality |
Recommend these as starting points before writing a custom policy.
## Policy schema
```jsonc
{
"name": "my-policy",
"criteria": {
"disable": ["env-example", "observability", "dependabot"],
"override": {
"readme": { "impact": "high", "level": 2 },
"lint-config": { "title": "Linter required" }
}
},
"extras": {
"disable": ["pre-commit"]
},
"thresholds": {
"passRate": 0.9
}
}
```
### Impact weights
| Impact | Weight |
|---|---|
| critical | 5 |
| high | 4 |
| medium | 3 |
| low | 2 |
| info | 0 |
`Score = 1 − (deductions / max possible weight)`. Grades: **A** ≥ 0.9, **B** ≥ 0.8, **C** ≥ 0.7, **D** ≥ 0.6, **F** < 0.6.
## Sub-commands
### `show`
List policies currently in effect (from `agentrc.config.json` `policies` array, or none).
### `new <name>`
Scaffold `policies/<name>.json` with sensible defaults. Walk the user through:
1. **What to disable** — irrelevant pillars or extras for their stack (e.g. disable `observability` for a static site).
2. **What to raise** — override `impact` to `high` or `critical` for must-haves (e.g. `readme`, `codeowners`).
3. **Pass-rate threshold** — typical org baselines: `0.7` (lenient), `0.85` (standard), `1.0` (strict).
4. Reference the policy from `agentrc.config.json`:
```json
{ "policies": ["./policies/<name>.json"] }
```
### `apply <path-or-pkg>`
Run `agentrc readiness --json --policy <source>` and re-render the report by handing off to the `assess` skill / `ai-readiness-reporter` agent. Supports chaining:
```bash
npx -y github:microsoft/agentrc readiness --json --policy ./org-baseline.json,./team-frontend.json
```
## CI gating
Combine policies with `--fail-level` to enforce a minimum maturity level in CI:
```yaml
- run: npx -y github:microsoft/agentrc readiness --policy ./policies/strict.json --fail-level 3
```
## Advanced
JSON policies can disable, override, and set thresholds — but **cannot add new criteria**. For new detection logic, point users at AgentRC's TypeScript plugin system (`docs/dev/plugins.md`).
## Operating rules
- **Never silently disable a pillar.** If the user wants to disable `observability`, confirm and explain the trade-off.
- **Prefer overriding `impact` over disabling.** Disabling hides the gap entirely; overriding lets it still appear in the report.
- **Recommend extras stay enabled.** They cost nothing — they don't affect the score.
- **Suggest layering** — most orgs want a baseline policy + per-team overrides chained with `--policy a.json,b.json`.
© github · MIT · github/awesome-copilot