pull

A command that downloads the configured default branch from a Git remote and fast-forwards the local working copy, meaning it only moves forward without merging separate local history.

In plain words
What is it for?
Use it to fetch and apply the latest remote commits, check the repository status, and report whether the update succeeded or needs a manual decision.
Why use it?
It updates the code while stopping safely when local commits, uncommitted files, or conflicting history would make an automatic update unsafe.

Command

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 commands/airbone42/360-data-athlete/pull
Clone the repo
git clone --depth 1 https://github.com/airbone42/360-data-athlete
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 317 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.00000 $0.00317
Opus 5 $0.00000 $0.00159
Sonnet 5 $0.00000 $0.00063
Haiku 4.5 $0.00000 $0.00032

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

Security

Grade A, and why

pull 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 2d 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.

commands/pull.md · 39 lines

What it actually says

/pull — Fetch latest state from the configured git remote

Fetches and fast-forward-merges the configured default branch from origin into the current working copy. Works against whatever remote is configured (Gitea, GitHub, …) — the command itself is generic.

Arguments

$ARGUMENTS Optional: none.


Workflow

# Resolve repo root from env or current working dir
REPO="${COACH_HOME:-$(pwd)}"
BRANCH="${GIT_DEFAULT_BRANCH:-master}"

git -C "$REPO" fetch origin "$BRANCH" 2>&1
git -C "$REPO" status --short
git -C "$REPO" pull --ff-only origin "$BRANCH" 2>&1

Behaviour:

  • --ff-only: fast-forward only — aborts on divergence/conflicts.
  • If the local branch has unmerged commits or the working tree is dirty → inform the athlete, do not overwrite, wait for a decision (rebase, stash, manual merge).

Output to the athlete (compact):

  • Up to date: "Already up to date — no pull needed."
  • Successful pull: short list of new commits (git log --oneline HEAD@{1}..HEAD).
  • On error: show the error message verbatim and propose next steps.

No auto-restart. Changed scripts/configs take effect only on the next athlete-triggered action — nothing reloads automatically.

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. 2d ago First seen · 39 lines · 0 tokens per session scan A 4641e90cd28d

Subscribe to this mod's changes

pull is a command published in the GitHub repository airbone42/360-data-athlete (21 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 317 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-30.