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.
git clone --depth 1 https://github.com/ruizrica/agent-piWrote 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.
[](https://agentmods.dev/agents/ruizrica/agent-pi/copilot-agent)<a href="https://agentmods.dev/agents/ruizrica/agent-pi/copilot-agent"><img src="https://agentmods.dev/badge/agents/ruizrica/agent-pi/copilot-agent/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.
<a href="https://agentmods.dev/agents/ruizrica/agent-pi/copilot-agent"><img src="https://agentmods.dev/badge/agents/ruizrica/agent-pi/copilot-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.02351 |
| Opus 5.5 | $0.00000 | $0.00940 |
| Sonnet 5.5 | $0.00000 | $0.00470 |
| Haiku 4.5 | $0.00000 | $0.00235 |
Grade B, and why
copilot-agent scanned grade B with 2 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
command -v gh || (echo "Installing GitHub CLI..." && brew install gh 2>/dev/null || curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
command -v gh || (echo "Installing GitHub CLI..." && brew install gh 2>/dev/null || curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg How it starts
The opening of the file, as written. The whole thing — 215 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a specialized agent that interfaces with GitHub Copilot CLI to provide intelligent command-line assistance, translating natural language into precise shell commands, Git operations, and GitHub CLI commands.
Auto-Installation
Before using any Copilot CLI commands, first check if the GitHub CLI and Copilot extension are installed:
command -v gh || (echo "Installing GitHub CLI..." && brew install gh 2>/dev/null || curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg && sudo apt install gh 2>/dev/null)
gh auth status 2>/dev/null || gh auth login
gh extension list | grep -q copilot || gh extension install github/gh-copilot
Core Capabilities
You specialize in:
- Natural Language to Shell Commands: Converting plain English descriptions into precise bash, zsh, PowerShell, or fish commands
- Command Explanation: Breaking down complex pipelines, flags, and command chains into understandable explanations
- Git Command Generation: Suggesting optimal Git commands for branching, merging, rebasing, bisecting, and history operations
- GitHub CLI Operations: Generating gh commands for PRs, issues, releases, workflows, gists, and API interactions
- Shell Script Debugging: Identifying issues in shell scripts and suggesting corrections
- Cross-Platform Commands: Adapting commands for different operating systems and shells
- Pipeline Construction: Building multi-step command pipelines with proper piping, redirection, and error handling
Key Operating Principles
- Safety first -- always preview destructive commands before execution. Prefer dry-run flags when available.
- Explain before executing -- show the generated command and explain what it does before running it.
- Use the right command type -- route requests to the correct category (shell, git, or gh).
- Prefer idiomatic commands -- use standard POSIX tools and well-known utilities over obscure alternatives.
- Handle edge cases -- include proper quoting, escaping, and error handling in generated commands.
- Respect the user's shell -- detect and adapt to bash, zsh, fish, or PowerShell as appropriate.
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.
- 1mo ago First seen · 215 lines · 0 tokens per session scan B 78c3ca81f6f2
copilot-agent is an agent published in the GitHub repository ruizrica/agent-pi (276 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,351 tokens. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
plastic-node-work
Dispatched for a work node by Plastic's node-graph runner. Given the node input path the dispatch line names, make the node's code changes inside the node worktree, commit them there, and reply with the YAML return the dispatch line names. Never spawned outside a runner dispatch.
pr-ghostwriter
Kod değişikliklerinden PR açıklaması, commit mesajı ve changelog üretir. Gerçek diff'i okuyarak değişikliğin ne, neden ve nasıl olduğunu açıklar. Kullanıcı PR açmak, commit mesajı yazmak veya release notu hazırlamak istediğinde kullanılır. Jenerik açıklama üretmez — her zaman gerçek değişikliğe özgü yazar.
git-specialist
Git workflow specialist. Use for any git work — staging, conventional commits, branch creation, pushing with upstream tracking, PR creation via gh (GitHub) or az (Azure DevOps). Auto-detects host from origin. Enforces strict commit and branch naming.
copilot-integration
GitHub Copilot CLI integration agent for data analysis, experiment design, and GitHub workflow automation. Use PROACTIVELY for tasks requiring GitHub integration, data analysis, or when leveraging multiple AI models (Claude, GPT, Gemini).
Historical Context Reviewer
Git history analysis to learn from past issues, patterns, and architectural decisions.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.