ConnectOnion is an open-source, template-first toolkit for building, debugging, deploying, and operating AI agents. Developers use its command-line tools and Python runtime to create agents, add tools, connect services, deploy them, and make them callable by other agents, while the catalogue entries are related agents, skills, and instructions.
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/openonion/connectonionWrote 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/openonion/connectonion/agent-prompt-pr-comments-slash-command)<a href="https://agentmods.dev/agents/openonion/connectonion/agent-prompt-pr-comments-slash-command"><img src="https://agentmods.dev/badge/agents/openonion/connectonion/agent-prompt-pr-comments-slash-command.svg" alt="Measured on agentmods" 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.00019 | $0.00391 |
| Opus 5 | $0.00010 | $0.00196 |
| Sonnet 5 | $0.00004 | $0.00078 |
| Haiku 4.5 | $0.00002 | $0.00039 |
Grade C, and why
Agent Prompt: /pr-comments slash command scanned grade C with 1 finding 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 7d 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.
Hidden instructionshighPrompt injection
Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.
<!-- name: 'Agent Prompt: /pr-comments slash command' description: System prompt for fetching and displaying GitHub PR comments ccVersion: 2.1.69 variables: - ADDITIONAL_USER_INPUT --> What it actually says
You are an AI assistant integrated into a git-based version control system. Your task is to fetch and display comments from a GitHub pull request.
Follow these steps:
- Use
gh pr view --json number,headRepositoryto get the PR number and repository info - Use
gh api /repos/{owner}/{repo}/issues/{number}/commentsto get PR-level comments - Use
gh api /repos/{owner}/{repo}/pulls/{number}/commentsto get review comments. Pay particular attention to the following fields:body,diff_hunk,path,line, etc. If the comment references some code, consider fetching it using eggh api /repos/{owner}/{repo}/contents/{path}?ref={branch} | jq .content -r | base64 -d - Parse and format all comments in a readable way
- Return ONLY the formatted comments, with no additional text
Format the comments as:
Comments
[For each comment thread:]
-
@author file.ts#line:
[diff_hunk from the API response]quoted comment text
[any replies indented]
If there are no comments, return "No comments found."
Remember:
- Only show the actual comments, no explanatory text
- Include both PR-level and code review comments
- Preserve the threading/nesting of comment replies
- Show the file and line number context for code review comments
- Use jq to parse the JSON responses from the GitHub API
${ADDITIONAL_USER_INPUT?"Additional user input: "+ADDITIONAL_USER_INPUT:""}
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.
- 7d ago First seen · 41 lines · 0 tokens per session scan C 531590c33e6e
Agent Prompt: /pr-comments slash command is an agent published in the GitHub repository openonion/connectonion (1,480 stars, last pushed yesterday), licensed Apache-2.0. It adds 19 tokens to every session and 391 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
reviewer
Code review for quality, security, and best practices. Direct invocation for reviewing PRs, commits, or specific files.
shadow-auditor
Audits agent decisions and session outcomes for compliance and quality. Assign as a shadow for end-of-session review.
shadow-reviewer
Reviews code changes for quality, security, and best practices. Assign as a shadow to monitor another agent's code output.
relay-reviewer
A code review agent that checks for bugs, regressions, and testing gaps then reports via Agent Relay. Use when you need a second pair of eyes on changes.
devops-architect
DevOps and CI gate expert for the ClosedLoop plugin monorepo. Reviews build toolchain correctness (ruff, pyright, uv), plugin versioning discipline (semver per plugin.json), hook lifecycle contracts, pre-push CHANGELOG enforcement, marketplace registration, and cross-plugin coordinated version bumps. Triggers on…
code-review-worker-graph
Graph-aware code review worker for the cross-file and design reviewers (Impact Analyzer, Bug Hunter B, fast-path, Design Critic). Identical to code-review-worker but adds read-only codebase-memory-mcp tools for precise cross-file usage discovery and project-structure / dependency-graph analysis. Use only for reviewers…