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.
npx agentmods add commands/avos-lab/git-aware-coding-agent/ingest-prgit clone --depth 1 https://github.com/Avos-Lab/git-aware-coding-agentWhat 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 | $0.00000 | $0.00708 |
| Opus 5 | $0.00000 | $0.00354 |
| Sonnet 5 | $0.00000 | $0.00142 |
| Haiku 4.5 | $0.00000 | $0.00071 |
Grade A, and why
ingest-pr 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.
avos ingest-pr
Ingest a single PR into Avos Memory.
Usage
avos ingest-pr [--json] <org/repo> <pr_number>
Description
Fetches a single PR by number, builds its artifact, and stores it in Avos Memory. Use this after pushing a PR to ensure its context is available for future queries.
The command automatically skips PRs that have already been ingested (based on content hash).
Arguments
| Argument | Description |
|---|---|
org/repo |
Repository slug in 'org/repo' format |
pr_number |
PR number to ingest |
Options
| Option | Description |
|---|---|
--json |
Emit machine-readable JSON output |
Output
Human-Readable (default)
┌─ PR #123 Ingested ───────────────────────────────┐
│ Title: Add authentication module │
│ Author: developer │
│ Files: 5 │
│ Note ID: note-abc-12... │
└──────────────────────────────────────────────────┘
When skipped (already ingested):
PR #123 already ingested. Skipping.
JSON Output
Stored:
{
"success": true,
"data": {
"pr_number": 123,
"action": "stored",
"note_id": "note-abc-123",
"reason": null
},
"error": null
}
Skipped (already ingested):
{
"success": true,
"data": {
"pr_number": 123,
"action": "skipped",
"note_id": null,
"reason": "already_ingested"
},
"error": null
}
Exit Codes
| Code | Meaning |
|---|---|
| 0 | Success (stored or skipped) |
| 1 | Precondition failure (bad args) |
| 2 | Hard external failure (API error) |
Examples
# Ingest PR #123 from myorg/myrepo
avos ingest-pr myorg/myrepo 123
# Ingest with JSON output
avos ingest-pr --json myorg/myrepo 123
# Use in a script after pushing
PR_NUM=$(gh pr view --json number -q .number)
avos ingest-pr --json myorg/myrepo "$PR_NUM"
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.
- yesterday First seen · 121 lines · 0 tokens per session scan A 146d94e25d4a
ingest-pr is a command published in the GitHub repository Avos-Lab/git-aware-coding-agent (2 stars, last pushed 4mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 708 tokens. 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-08-31.
Other commands, from other repositories
add-agent
引导新增一个 Agent 适配器。用法 /add-agent.
backfill-auto
.opensunstar/wiki/candidates/rd-backfill-auto- / ├── candidate.json # engine: "rd-backfill-auto", sourcecommit, createdat └── wiki/ ├── index.md └── runbooks/ .md # wiki schema frontmatter.
extract-routing
Command "extract-routing" from alisunstar/OpenSunstar, covering /rd:extract-routing — 源码锚点提取适配器(外置), 先读规则, 执行, 产物 and 何时停止.
verify-prd
Command "verify-prd" from alisunstar/OpenSunstar, covering /rd:verify-prd — 输入质量门禁, 先读规则, 执行, 何时澄清 and 何时停止.
wrap
Close the session cleanly. Update entity state. Capture decisions. Detect momentum shifts.
code-review
Command "code-review" from alisunstar/OpenSunstar, covering /rd:code-review — 代码审查, 先读, 执行, 产物 and 人工确认.