extra: Skill for Claude Code

.claude/skills/sidecar-auth-context/SKILL.md

sidecar-auth-context is a skill for Claude Code from extra-org/extra. It costs 41 tokens per session (486 once invoked), scanned A, original, MIT.

A set of instructions for connecting resolver and access-control plugins to an agent platform. Resolver plugins supply request-specific information, while access checks decide whether protected workflow nodes may be used.

In plain words
What is it for?
Use it when implementing plugin contracts, building request execution context, filling prompt variables, or hiding protected nodes from unauthorized routers.
Why use it?
It keeps customer-specific authentication and business rules outside the core runtime. It also ensures denied access fails safely and secrets do not appear in traces.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions AGENTS.md.

This is extra-org/extra's own configuration. It tells Claude Code how to work on extra 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 extra configures →

Reuse

Borrowing it

Nothing to install: this file belongs to extra-org/extra. 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/extra-org/extra/main/.claude/skills/sidecar-auth-context/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/extra-org/extra

Made for: Claude Code.

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 sidecar-auth-context

README.md
[![agentmods](https://agentmods.dev/badge/skills/extra-org/extra/sidecar-auth-context/github.svg)](https://agentmods.dev/skills/extra-org/extra/sidecar-auth-context)
Your own site
<a href="https://agentmods.dev/skills/extra-org/extra/sidecar-auth-context"><img src="https://agentmods.dev/badge/skills/extra-org/extra/sidecar-auth-context/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 sidecar-auth-context

Your own site · 80×15
<a href="https://agentmods.dev/skills/extra-org/extra/sidecar-auth-context"><img src="https://agentmods.dev/badge/skills/extra-org/extra/sidecar-auth-context.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 486 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Memory Poisoning · line 32
    Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.
    Fix: Implement context-window management that detects and rejects padding or stuffing attempts. Prioritize system instructions over user-injected content.
How audits are shown
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.00041 $0.00486
Opus 5.5 $0.00016 $0.00194
Sonnet 5.5 $0.00008 $0.00097
Haiku 4.5 $0.00004 $0.00049

Measured 2mo ago against content hash 1fefbee9299b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sidecar-auth-context 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 2mo 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.

.claude/skills/sidecar-auth-context/SKILL.md · 64 lines

What it actually says

Skill: Plugin Context & Access

When to use this skill

Use this when working on resolver plugins, the fixed access plugin contract, mapping resolver outputs into ExecutionContext, or protected-node filtering. Primary task: tasks/0006-sidecar-auth-context.md.

Files to read first

  • AGENTS.md
  • docs/SIDECAR_CONTEXT_AUTH.md
  • docs/ARCHITECTURE.md
  • docs/PROMPT_RENDERING.md

Architecture rules

  • The runtime contains no customer-specific auth/business logic.
  • Resolver plugins fill prompt variables before a node runs.
  • Tool plugins are separate and run during LLM execution.
  • Protected nodes are hidden from routers unless the access plugin allows them.
  • Access failures fail closed.
  • Secrets are redacted in traces.

Implementation rules

  • Implement plugin integration in src/agentplatform/context.
  • Build ctx from request headers and request data.
  • Call resolver plugin methods declared in top-level resolvers.
  • If any node has protected: true, require plugins/access.py with AccessResolver.can_access(ctx, node_id) -> bool.
  • Keep plugin instances shared where appropriate; keep request data on ExecutionContext.

Validation checklist

  • No customer-specific logic in the runtime.
  • Resolver outputs are request-scoped.
  • Protected nodes are filtered before routing.
  • Deny/error cases fail closed and are traced.
  • Secrets redacted in traces.
  • Tests use fake plugins covering allow/deny/error.
  • make check passes.

Common mistakes to avoid

  • Implementing auth/tenant/business rules inside the engine.
  • Failing open when access plugin raises.
  • Exposing resolver plugins to the LLM as tools.
  • Logging raw tokens/secrets in the trace.
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. 2mo ago First seen · 64 lines · 41 tokens per session scan A 1fefbee9299b

Subscribe to this mod's changes

sidecar-auth-context is a skill published in the GitHub repository extra-org/extra (117 stars, last pushed 5d ago), licensed MIT. It adds 41 tokens to every session and 486 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

skill-writing-plans

Create zero-context implementation plans with bite-sized tasks — use for multi-step feature planning.

nyldn/claude-octopus · 21 tokens

argent-tv-interact

Control and inspect TV apps via argent, Apple TV (tvOS), Android TV (leanback), and Amazon Fire TV (Vega). Boot the target, read focus, navigate with the D-pad remote, type, screenshot, and on Vega debug the JS runtime (evaluate, console logs, network inspector). Use when a task targets a TV (runtimeKind "tv", or…

software-mansion/argent · 107 tokens

agenticx-query-data-source

Use when the user asks about verifiable quantitative facts (stock prices, financial indicators, macro data, company registry, academic metrics, legal statutes) that must come from a live data source rather than training memory.

DemonDamon/AgenticX · 49 tokens

Swift Performance Optimization Skill

Use when investigating measured Swift or Apple-platform regressions in CPU, memory, launch, scrolling, animation hitches, image processing, energy, networking, or concurrency, or when designing performance tests and Instruments experiments. Do not use for speculative micro-optimization, ordinary refactoring, or a…

termio-sh/termio · 68 tokens

06-product-brief

Produces a concise Product Brief before requirements. Use when the user wants to frame or revisit a product opportunity and how it will be validated. Not for requirements, technical design, or planning.

ai-driven-dev/framework · 42 tokens

issue-resolve

Use when an assessed gflow-cli issue (verdict CONFIRMED-BUG or LIKELY-BUG) has localized, verifiable scope and should be driven to a fix. Mutating and gated: it works in an isolated worktree, fixes test-first, and opens a DRAFT PR for human review. Built to run autonomously (hermes-ops) within a strict action envelope…

ffroliva/gflow-cli · 97 tokens