pkgxray: Instructions file for Claude Code

CLAUDE.md

pkgxray CLAUDE.md is an instructions file for Claude Code from adamsjack711-ux/pkgxray. It costs 1,204 tokens per session, scanned A, original, MIT.

Repository instructions for pkgxray, a project managed with Swamp that uses models and extensions to work with external services such as AWS and APIs.

In plain words
What is it for?
They guide searches for extensions and model types, choosing when to extend an existing model, and handling external-service automation.
Why use it?
They help the coding agent reuse existing integrations and data models instead of creating unnecessary custom code or shell wrappers.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions subagents.

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

Reuse

Borrowing it

Nothing to install: this file belongs to adamsjack711-ux/pkgxray. 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/adamsjack711-ux/pkgxray/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/adamsjack711-ux/pkgxray

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 pkgxray CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/adamsjack711-ux/pkgxray/claude-md.svg)](https://agentmods.dev/instructions/adamsjack711-ux/pkgxray/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/adamsjack711-ux/pkgxray/claude-md"><img src="https://agentmods.dev/badge/instructions/adamsjack711-ux/pkgxray/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,204 This file is loaded in full into every session.
When invoked 1,204 The same file — it is already loaded in full.
Security scan A 1 finding. 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.01204 $0.01204
Opus 5 $0.00602 $0.00602
Sonnet 5 $0.00241 $0.00241
Haiku 4.5 $0.00120 $0.00120

Measured 8d ago against content hash 96977ff07c4f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

pkgxray CLAUDE.md scanned grade A with 1 finding 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 8d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

10. **Use swamp, don't bypass it.** Always work through swamp commands — don't go around them with raw shell tools. Use `swamp data query` to find data, not `grep`/`find` on `.swamp/` files. Use model methods to interact
CLAUDE.md · 44 lines

How it starts

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

Project

This repository is managed with swamp.

Rules

  1. Search before you build. When automating AWS, APIs, or any external service: (a) search community extensions with swamp extension search <query> — prefer @swamp/* official extensions first, (b) search local/installed types with swamp model type search <query>, (c) if a community extension exists, install it with swamp extension pull <package> instead of building from scratch, (d) extend an existing type if it covers the domain but lacks the method you need, (e) only create a custom extension model in extensions/models/ as a last resort. Use the swamp skill for guidance. The command/shell model is ONLY for ad-hoc one-off shell commands, NEVER for wrapping CLI tools or building integrations.
  2. Extend, don't be clever. When a model covers the domain but lacks the method you need, extend it with export const extension — don't bypass it with shell scripts, CLI tools, or multi-step hacks. One method, one purpose. Use swamp model type describe <type> --json to check available methods.
  3. Use the data model. Once data exists in a model (via lookup, start, sync, etc.), reference it with CEL expressions. Don't re-fetch data that's already available.
  4. CEL expressions everywhere. Wire models together with CEL expressions. Always prefer data.latest("<name>", "<dataName>").attributes.<field> over the deprecated model.<name>.resource.<spec>.<instance>.attributes.<field> pattern.
  5. Verify before destructive operations. Always swamp model get <name> --json and verify resource IDs before running delete/stop/destroy methods.
  6. Prefer fan-out methods over loops. When operating on multiple targets, use a single method that handles all targets internally (factory pattern) rather than looping N separate swamp model method run calls against the same model. Multiple parallel calls against the same model contend on the per-model lock, causing timeouts. A single fan-out method acquires the lock once and produces all outputs in one execution. Check swamp model type describe for methods that accept filters or produce multiple outputs.
  7. Extension npm deps are bundled, not lockfile-tracked. Swamp's bundler inlines all npm packages (except zod) into extension bundles at bundle time. deno.lock and package.json do NOT cover extension model dependencies — this is by design. Always pin explicit versions in npm: import specifiers (e.g., npm:[email protected]).
  8. Reports for reusable data pipelines. When the task involves building a repeatable pipeline to transform, aggregate, or analyze model output (security reports, cost analysis, compliance checks, summaries), create a report extension. Use the swamp skill for guidance.
  9. "Workflow" means a swamp workflow. In this repository the word "workflow" (and "create/run/execute/validate/debug workflow", "automate", "orchestrate", "automated/nightly job") refers to a swamp workflow — a declarative YAML DAG of model-method steps authored via swamp workflow create. Load and follow the swamp skill for these requests. Do NOT interpret these as a request to build an agent task list, spin up worktrees, or schedule a cron/remote agent. Only use those orchestration mechanisms when the user explicitly names one (e.g. "task list", "subagent", "worktree", "cron", "remote agent") or explicitly asks you to do the work yourself step by step rather than author a swamp workflow.
  10. Use swamp, don't bypass it. Always work through swamp commands — don't go around them with raw shell tools. Use swamp data query to find data, not grep/find on .swamp/ files. Use model methods to interact with resources, not curl/aws/gcloud/kubectl when a model type already wraps that API — check with swamp model type search. Use swamp help for CLI discovery, not guesswork. Composing with swamp output is fine (e.g. piping --json through jq) — the anti-pattern is bypassing swamp entirely.

Read the full file on GitHub · 44 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. 8d ago First seen · 44 lines · 1,204 tokens per session scan A 96977ff07c4f

Subscribe to this mod's changes

pkgxray CLAUDE.md is an instructions file published in the GitHub repository adamsjack711-ux/pkgxray (11 stars, last pushed 19d ago), licensed MIT. It adds 1,204 tokens to every session, about $0.0060 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens