avos-ingest-pr

avos-ingest-pr is a skill for Claude Code, Codex, Cursor from Avos-Lab/git-aware-coding-agent. It costs 11 tokens per session (590 once invoked), scanned A, original, Apache-2.0.

A command for saving one pull request into Avos repository memory after it has been pushed or merged. A pull request is a proposed code change submitted for review before or after it is added to the project.

In plain words
What is it for?
Use it after pushing or merging a pull request so its details can be retrieved in later repository-history or codebase questions.
Why use it?
It keeps the context of an important change available for future questions about the codebase. It also reports whether the pull request was stored already or could not be found.

Skill for Claude CodeCodexCursor

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.

agentmods
npx agentmods add skills/avos-lab/git-aware-coding-agent/avos-ingest-pr
Any agent
npx skills add Avos-Lab/git-aware-coding-agent --skill avos-ingest-pr
Clone the repo
git clone --depth 1 https://github.com/Avos-Lab/git-aware-coding-agent

Made for: Claude Code, Codex, Cursor.

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 avos-ingest-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/avos-lab/git-aware-coding-agent/avos-ingest-pr.svg)](https://agentmods.dev/skills/avos-lab/git-aware-coding-agent/avos-ingest-pr)
Your own site
<a href="https://agentmods.dev/skills/avos-lab/git-aware-coding-agent/avos-ingest-pr"><img src="https://agentmods.dev/badge/skills/avos-lab/git-aware-coding-agent/avos-ingest-pr.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 590 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00011 $0.00590
Opus 5 $0.00005 $0.00295
Sonnet 5 $0.00002 $0.00118
Haiku 4.5 $0.00001 $0.00059

Measured 4d ago against content hash a09b11d3757b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

avos-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 4d 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.

.cursor/skills/avos-ingest-pr/SKILL.md · 109 lines

How it starts

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

Avos Ingest PR

Use this skill when you need to ingest a single PR into repository memory after pushing.

When to Use

  • After pushing a PR to the remote repository
  • After a PR is merged
  • To ensure PR context is available for future queries

Command

avos ingest-pr --json org/repo PR_NUMBER

Examples

Ingest a specific PR

avos ingest-pr --json myorg/myrepo 123

Response Format

Success (stored):

{
  "success": true,
  "data": {
    "pr_number": 123,
    "action": "stored",
    "note_id": "note-abc-123",
    "reason": null
  }
}

Success (skipped - already ingested):

{
  "success": true,
  "data": {
    "pr_number": 123,
    "action": "skipped",
    "note_id": null,
    "reason": "already_ingested"
  }
}

Error (PR not found):

{
  "success": false,
  "error": {
    "code": "RESOURCE_NOT_FOUND",
    "message": "Failed to fetch PR #999: PR not found",
    "retryable": true
  }
}

Workflow

  1. Push your PR to the remote repository
  2. Get the PR number from GitHub
  3. Run avos ingest-pr --json org/repo PR_NUMBER
  4. Verify the response shows "action": "stored"

When to Use vs Full Ingest

Scenario Command
Single PR after push avos ingest-pr org/repo 123
Initial repository setup avos ingest org/repo --since 90d
Periodic bulk update avos ingest org/repo --since 30d

Error Handling

Error Code Meaning Action
CONFIG_NOT_INITIALIZED Repo not connected Run avos connect
RESOURCE_NOT_FOUND PR doesn't exist Check PR number
UPSTREAM_UNAVAILABLE API down Retry later

Required Environment Variables

  • AVOS_API_KEY - Avos Memory API key
  • GITHUB_TOKEN - GitHub personal access token

Deduplication

The command automatically skips PRs that have already been ingested (based on content hash). This means:

  • Safe to run multiple times
  • Won't create duplicate entries
  • Returns "action": "skipped" for duplicates

Read the full file on GitHub · 109 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. 4d ago First seen · 109 lines · 11 tokens per session scan A a09b11d3757b

Subscribe to this mod's changes

avos-ingest-pr is a skill published in the GitHub repository Avos-Lab/git-aware-coding-agent (2 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 11 tokens to every session and 590 once invoked, about $0.0001 per session on Opus 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-08-31.

Related

Other skills, from other repositories

memory-curation

When you have read / processed a workspace asset in this session and learned something durable about it, write a memory page so future sessions benefit. Maintain the workspace wiki's hierarchical structure as it grows.

Prismer-AI/PrismerCloud · 46 tokens

memory

Persist and retrieve agent memory across sessions — write durable notes, read by path, recall via semantic search, list/delete, and consolidate. Use whenever the user asks to remember/forget something, when you need to look up past decisions or context, or when episodic state matters beyond the current turn. Executes…

Prismer-AI/PrismerCloud · 76 tokens

dashboard

Open OwnMem Console, the local dashboard for this repository's memory. Use when the user asks to open the dashboard, see memory metrics, check adoption or recall quality, or set up the optional embedding lane. Requires a repository initialized with the dashboard layer.

grpcer/ownmem · 53 tokens

recall

Recall this repository's OwnMem local memory before changing code, and keep it healthy. Use when a repository contains .ownmem/, when past debugging lessons could apply ("have we hit this before", "why is it done this way"), or when the user mentions ownmem, project memory, or recalling across sessions.

grpcer/ownmem · 66 tokens

init

Install or update OwnMem in the current repository. Use when the user asks to set up OwnMem, add local project memory for coding agents, or refresh an existing OwnMem installation after a version bump.

grpcer/ownmem · 43 tokens

general

Handle everyday conversation, answer questions, manage files, take notes, run scripts, and maintain persistent memory across sessions. Use when the user asks a general question, requests file operations, wants to brainstorm ideas, needs to-do tracking, asks you to remember something, or requests skill search and…

0xranx/golembot · 61 tokens