git-aware-coding-agent: Skill for Cursor

.cursor/skills/avos-ingest-pr/SKILL.md

avos-ingest-pr is a skill for 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 Cursor

Written for Cursor: installed under .cursor/.

This is Avos-Lab/git-aware-coding-agent's own configuration. It tells Cursor how to work on git-aware-coding-agent itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything git-aware-coding-agent configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Avos-Lab/git-aware-coding-agent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Avos-Lab/git-aware-coding-agent/main/.cursor/skills/avos-ingest-pr/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Avos-Lab/git-aware-coding-agent

Made for: 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/github.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/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.

agentmods 80×15 button for avos-ingest-pr

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00011 $0.00590
Opus 5.5 $0.00004 $0.00236
Sonnet 5.5 $0.00002 $0.00118
Haiku 4.5 $0.00001 $0.00059

Measured 1mo ago against content hash a09b11d3757b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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. 1mo 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 (4 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 11 tokens to every session and 590 once invoked, about $0.0000 per session on Opus 5.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.