lineage: Skill for Claude Code

.agents/skills/lineage-go-runtime-guardrails/SKILL.md

lineage-go-runtime-guardrails is a skill for Claude Code, Codex from agentic-lineage/lineage. It costs 56 tokens per session (462 once invoked), scanned A, original, MIT.

A set of project-specific rules for writing and reviewing Lineage's Go runtime code. Lineage is a local distribution layer for packaging and activating agent context.

In plain words
What is it for?
Use it when changing Lineage code for package loading, manifests, storage, registries, shims, or related tests.
Why use it?
It helps keep runtime changes safe, repeatable, provider-neutral, and resistant to untrusted package input.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions Codex.

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

Reuse

Borrowing it

Nothing to install: this file belongs to agentic-lineage/lineage. 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/agentic-lineage/lineage/main/.agents/skills/lineage-go-runtime-guardrails/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/agentic-lineage/lineage

Made for: Claude Code, Codex.

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 lineage-go-runtime-guardrails

README.md
[![agentmods](https://agentmods.dev/badge/skills/agentic-lineage/lineage/lineage-go-runtime-guardrails/github.svg)](https://agentmods.dev/skills/agentic-lineage/lineage/lineage-go-runtime-guardrails)
Your own site
<a href="https://agentmods.dev/skills/agentic-lineage/lineage/lineage-go-runtime-guardrails"><img src="https://agentmods.dev/badge/skills/agentic-lineage/lineage/lineage-go-runtime-guardrails/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 lineage-go-runtime-guardrails

Your own site · 80×15
<a href="https://agentmods.dev/skills/agentic-lineage/lineage/lineage-go-runtime-guardrails"><img src="https://agentmods.dev/badge/skills/agentic-lineage/lineage/lineage-go-runtime-guardrails.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 462 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 pass 7 Sept 2026
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.00056 $0.00462
Opus 5 $0.00028 $0.00231
Sonnet 5 $0.00011 $0.00092
Haiku 4.5 $0.00006 $0.00046

Measured 11d ago against content hash fb3dfa8e7012, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

lineage-go-runtime-guardrails 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 11d 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/skills/lineage-go-runtime-guardrails/SKILL.md · 42 lines

How it starts

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

Lineage Go Runtime Guardrails

This is a Lineage-specific overlay for high-quality Go work. Use broad Go/backend expertise for implementation details; use this skill to keep the code aligned with what Lineage is trying to be.

Product Boundary

Lineage is a local distribution layer for agent environments. It packages and activates local agent context; it is not a workflow engine, marketplace, cloud service, billing system, vector database, or replacement for Claude/Codex/Cursor/etc.

Runtime Rules

  • Keep core runtime code provider-neutral. Provider-specific behavior belongs behind explicit adapter/registry/shim boundaries.
  • Treat packages, manifests, archives, and setup declarations as untrusted input.
  • Prefer immutable, deterministic state: stable ordering, normalized paths, content hashes, and reproducible manifests.
  • Make operations idempotent. Running the same command twice should not duplicate entries, corrupt files, or drift silently.
  • Preserve resumability: partial local work should either be recoverable or fail before unsafe writes happen.
  • Avoid package behavior that depends on wall-clock time, machine-specific absolute paths, or hidden global state unless the value is clearly local metadata.
  • Keep errors actionable and safe to print. Never include secret values in error output.

Go Quality Bar

  • Use simple packages and clear ownership boundaries before adding abstractions.
  • Prefer standard library APIs for filesystem, hashing, archives, and path handling unless a dependency clearly improves safety.
  • Keep command logic thin; put testable behavior in internal/.
  • Sort discovered names before returning or printing them.
  • Use table tests for format, validation, path-safety, and idempotency behavior.
  • Add regression tests for every bug fix that touches package discovery, config resolution, materialization, launch planning, or safety checks.

Required Verification

Run:

go test ./...

For CLI-facing behavior, verify output and failure modes in tests. For package/materialization behavior, test repeated runs and unsafe input.

Read the full file on GitHub · 42 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. 11d ago First seen · 42 lines · 56 tokens per session scan A fb3dfa8e7012

Subscribe to this mod's changes

lineage-go-runtime-guardrails is a skill published in the GitHub repository agentic-lineage/lineage (10 stars, last pushed yesterday), licensed MIT. It adds 56 tokens to every session and 462 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-31.

Related

Other skills, from other repositories

golang-pro

Implements concurrent Go patterns using goroutines and channels, designs and builds microservices with gRPC or REST, optimizes Go application performance with pprof, and enforces idiomatic Go with generics, interfaces, and robust error handling. Use when building Go applications requiring concurrent programming…

eric861129/SKILLS_All-in-one · 95 tokens

printing-press

Set up a new integration, connector, or CLI binding for any API. Wrap or generate a ship-ready Go CLI from an OpenAPI, HAR, or Postman spec via the lean research -> generate -> build -> shipcheck loop. Use when the user says build a CLI, wrap this API, set up a new integration, add a connector, integrate with a…

mvanhorn/cli-printing-press · 86 tokens

go

Use when writing, reviewing, testing, or shipping Go code and HTTP services: idioms, %w error wrapping, goroutine/context/errgroup concurrency, net/http 1.22 routing, log/slog, project layout, table-driven tests, Go hardening. NOT language-agnostic threat modeling (that is secure-coding), NOT Dockerfile/CI shipping…

ericrisco/rsc-harness · 86 tokens

go-programming-expert

Expert-level skill for Go programming (Go 1.25+). Covers high-performance microservices, concurrency patterns, sqlc, net/http, Gin/Echo/Fiber, gRPC, and testing in English and Indonesian.

roedyrustam/vibes-plug · 51 tokens

chi

Chi lightweight Go HTTP router. Covers routing, middleware, context, and patterns. Use for idiomatic, stdlib-compatible Go APIs. USE WHEN: user mentions "chi", "go-chi", "lightweight go router", "stdlib go router", asks about "chi middleware", "chi router", "chi context", "idiomatic go api", "net/http compatible…

claude-dev-suite/claude-dev-suite · 119 tokens

echo

Echo Go web framework. Covers routing, middleware, binding, context, and WebSocket. Use for high-performance, minimalist Go APIs. USE WHEN: user mentions "echo", "labstack echo", "go echo framework", asks about "echo middleware", "echo context", "echo binding", "echo websocket", "high performance go api", "echo…

claude-dev-suite/claude-dev-suite · 112 tokens