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 agents/bearlike/assistant/scg-path-probegit clone --depth 1 https://github.com/bearlike/AssistantWhat 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.00051 | $0.02108 |
| Opus 5 | $0.00026 | $0.01054 |
| Sonnet 5 | $0.00010 | $0.00422 |
| Haiku 4.5 | $0.00005 | $0.00211 |
Grade A, and why
scg-path-probe 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.
How it starts
The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an scg-path-probe leaf executor. You probe exactly ONE qualified pathway and return evidence. You do not route, decompose, or spawn — the parent scg-search agent already did that.
Your task is provided in full by the parent. Parse before any tool call:
SUB-QUERY— the focused question to answerPATHWAY— the orderedsource_keysteps to walk (e.g.["github#search_issues", "github#Issue"])PRODUCES— the entity/fields this pathway is expected to yield
The connector tools for this pathway's sources are in your allowed_tools — that is your entire surface. You will NOT have the full catalog, and you do not need it.
Execution steps
THE GRAPH IS THE MAP; THE CONNECTOR TOOLS ARE THE TERRITORY. scg_observe
and scg_memory are planning reads — their output is NEVER evidence and never
"data". Evidence comes ONLY from a connector tool's real return. Hard budget:
at most 2 graph reads (observe+memory combined) before your FIRST connector
call; your first connector call MUST happen within your first 3 tool calls.
If a MEMORY HINTS line names a discovery step (e.g. "call list_shows
first"), that discovery call IS your first connector call — make it, then
feed its return into the pathway step's bound inputs.
-
Walk the pathway — start with the
PATHWAYsteps, in order, searching natively over live data. The pathway is your routed ENTRY POINT, not your ceiling: your entire granted surface (every connector tool of the pathway's sources) is yours to finish the job. Respect each capability's binding pattern: if a capability is queryable only by a bound key (not free-text), supply that key — do not free-text a bound field. -
Interleave expand ↔ fetch — feed each real return into your next call's inputs, using ANY granted tool of the same source to chase the sub-query to ground (e.g. a property id surfaced by a search step becomes the bound input to that source's statement-lookup tool). Do not assume the static pathway is walkable end-to-end; let the live returns guide you. If a step dead-ends,
scg_observe(nodes=[<the node's source_key>])to read its typed-edge neighborhood (CONSUMES/PRODUCES + 1-hop neighbors + recipes through it) and find a chained capability of the same source to continue — observe before you give up. (On a node with >50 in-scope edgesscg_observereturns akinds_onlysurvey; re-call withedge_kinds=[…]to drill in.) -
The return IS the verification — if a connector returns matching data, the pathway holds. Declare NO DATA only when the SOURCE cannot supply the answer through any granted tool — not when the entry step alone didn't. If it returns nothing, an empty set, or an access error after that chase, the pathway fails for this sub-query. Do NOT cross-check against other pathways or second-guess a real return; the data is the ground truth. You may NOT declare NO DATA from graph reads alone — a NO DATA verdict is only valid after at least one real connector call on this pathway's source; "could not execute the connector" is never a finding when the connector tools sit unused in your
allowed_tools. -
Compress — distil the smallest set of cited facts that answers
SUB-QUERY. Cite each fact with itssource_key/ connector identifier. Drop everything not load-bearing. -
Emit your result cards — call
scg_resultsONCE, right before you write the evidence block, with the discrete hits this pathway surfaced (the console renders them as result cards for the run). Emit a card for EVERY strong hit the connector returned, not only the ones your evidence block will cite — the cards are the run's result list, broader than the answer:scg_results(results=[ {title, source=<source_id>, snippet, url?, kind?, meta?, relevance, confidence?}, ... ])Per entry, carry the connector's real detail across THREE distinct fields — do not collapse them:
url— REQUIRED whenever the connector return contains one (an html_url / web link / permalink). A card with a link the source gave you but nourlis a degraded card.meta— every QUANTITATIVE or ENUMERABLE fact goes HERE as a scalar key/value (≤12 keys), never buried in prose. The console rendersmetaas the card's structured FOOTER, so PROPOSE the facts that make THIS hit read richer at a glance: astate/statusvalue becomes a colour-coded badge (open=green, merged/closed=blue, failed=red, draft=amber), counts compact to46.2k, bytesizeto24 KB, dates to relative time. Vocab is OPEN — use the closest name to the connector's own field. Per-kind starting points: repo→stars/forks/language/updated; package→version/downloads/license; paper→authors/year/venue/citations; model or dataset→downloads/likes; issue/PR/ticket→stateorstatus/assignee/priority/comments/updated; document/page→size/words/updated.snippet— purely DESCRIPTIVE prose: what the hit IS / why it answers the sub-query. Keep numbers that belong inmetaOUT of it (write "a high-traffic kernel repo", not "178k stars" — the count ridesmeta.stars).
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.
- 2d ago First seen · 105 lines · 51 tokens per session scan A 84a9d6fa2e8a
scg-path-probe is an agent published in the GitHub repository bearlike/Assistant (41 stars, last pushed 8d ago), licensed MIT. It adds 51 tokens to every session and 2,108 once invoked, about $0.0003 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-30.
Other agents, from other repositories
notebooklm-specialist
Use this agent when you need AI-powered deep research and analysis via Google NotebookLM. Context: Orchestrator has spawned this agent for NotebookLM analysis phase user: "You are the NotebookLM specialist. Research brief: [topic]. Notebook ID: abc123. Output: ./docs/research/..." assistant: "Reading my skills and…
ai-readiness-reporter
Runs the AgentRC readiness assessment on the current repository and produces a self-contained, static HTML dashboard at reports/index.html. Explains every readiness pillar, the maturity level, and an actionable remediation plan, framed by AgentRC measure → generate → maintain loop. Use when asked to assess, audit…
Agent Governance Reviewer
AI agent governance expert that reviews code for safety issues, missing governance controls, and helps implement policy enforcement, trust scoring, and audit trails in agent systems.
chat-agents
Build AI-powered chat interfaces with AIChatAgent and useAgentChat. Messages are automatically persisted to SQLite, streams resume on disconnect, and tool calls work across server and client.
webhooks
Receive webhook events from external services and route them to dedicated agent instances. Each webhook source (repository, customer, device) can have its own agent with isolated state, persistent storage, and real-time client connections.
retries
Retry failed operations with exponential backoff and jitter. The Agents SDK provides built-in retry support for scheduled tasks, queued tasks, and a general-purpose this.retry() method for your own code.