jackin-agent-smith AGENTS.md

jackin-agent-smith AGENTS.md is an instructions file for Codex, OpenCode from jackin-project/jackin-agent-smith. It costs 1,387 tokens per session, scanned A, original, Apache-2.0.

Project instructions for building and maintaining a public Docker image for code review. Docker is a tool for packaging software and its environment into a runnable image.

In plain words
What is it for?
Use them when changing the image build, updating its base image or Node.js setup, and running the required pre-commit checks.
Why use it?
They document security risks around the image, its dependencies, and credentials mounted into the container, helping maintainers avoid exposing secrets or trusting unreviewed changes.

Instructions file for CodexOpenCode

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 instructions/jackin-project/jackin-agent-smith/agents-md
Clone the repo
git clone --depth 1 https://github.com/jackin-project/jackin-agent-smith

Made for: Codex, OpenCode.

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 jackin-agent-smith AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/jackin-project/jackin-agent-smith/agents-md.svg)](https://agentmods.dev/instructions/jackin-project/jackin-agent-smith/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/jackin-project/jackin-agent-smith/agents-md"><img src="https://agentmods.dev/badge/instructions/jackin-project/jackin-agent-smith/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,387 This file is loaded in full into every session.
When invoked 1,387 The same file — it is already loaded in full.
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.01387 $0.01387
Opus 5 $0.00694 $0.00694
Sonnet 5 $0.00277 $0.00277
Haiku 4.5 $0.00139 $0.00139

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

Security

Grade A, and why

jackin-agent-smith AGENTS.md 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 4d 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.

AGENTS.md · 82 lines

How it starts

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

AGENTS.md — jackin-agent-smith

A public-friendly Claude Code agent image for code review. Extends the digest-pinned projectjackin/construct:<version>-trixie base with the code-review and feature-dev plugins pre-configured. Layers Node.js on top of the construct base.

Image distribution is public (published to a registry); any user pulling it runs exactly what this Dockerfile builds. Baked-in secrets leak to every puller.

Threat model

Threat surface for this image:

  1. Base image supply chain. projectjackin/construct:<version>-trixie is pinned by digest in the Dockerfile. Whoever can push to projectjackin/construct still serves the base image, so digest refreshes require review.
  2. Build-time tool pulls. mise install node@lts hits mise's registry to resolve "lts" at build time. If mise's registry or the pulled Node.js tarball is compromised between releases, this image inherits the compromise.
  3. Runtime credential exposure. The image itself holds no credentials, but operators mount their ~/.config/gh/hosts.yml, Claude Code auth, and sometimes SSH keys into the container at run time. Any plugin or tool running inside has access. The Dockerfile must not cache these paths, ENV them, or bake them into layers.
  4. Layer secrets. --build-arg or ENV of sensitive values bakes them into the image, retrievable via docker history. Currently none are used; any addition requires review.
  5. Plugin trust. All plugins in jackin.role.toml come from @claude-plugins-official. Trust is anchored in that marketplace's maintainers.

Hard rules (do not break these)

  1. Final stage must use a digest-pinned projectjackin/construct:<version>-trixie base. This is the contract jackin enforces; breaking it makes the role unloadable.
  2. Never add a plugin without documenting its trust anchor. Marketplace name alone is insufficient — note in the PR why the specific plugin is trusted. Third-party plugins are lateral attack surface.
  3. Never ENV GITHUB_TOKEN=... or any credential ENV. No ARG GITHUB_TOKEN=..., no COPY ~/.secrets/.... Credentials come from the operator's shell at run time.
  4. No build-time secrets in plain ARG / ENV. If a step ever needs a secret, use --mount=type=secret.
  5. Never use latest for anything pinned. node@lts is acceptable only because mise resolves it at build time and the --pin flag snapshots the result.
  6. The marketplace allow-list in pre-commit check #3 must stay in sync with [[claude.marketplaces]] in jackin.role.toml. Adding a new marketplace requires updating both, otherwise the audit will flag every plugin from it.

Read the full file on GitHub · 82 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. 4d ago First seen · 82 lines · 1,387 tokens per session scan A 39291354bb5e

Subscribe to this mod's changes

jackin-agent-smith AGENTS.md is an instructions file published in the GitHub repository jackin-project/jackin-agent-smith (2 stars, last pushed 4d ago), licensed Apache-2.0. It adds 1,387 tokens to every session, about $0.0069 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-31.