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.5 $0.00022 $0.00185
Sonnet 5.5 $0.00011 $0.00092
Haiku 4.5 $0.00006 $0.00046

Measured 1mo ago against content hash fb3dfa8e7012, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 (11 stars, last pushed 1mo ago), licensed MIT. It adds 56 tokens to every session and 462 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-31.

Related

Other skills, from other repositories

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-services

Build and upgrade Go services, workers and CLI applications with context propagation and explicit ownership. Use when implementing Go HTTP/data/concurrency paths; preserve module and deployment constraints and verify race-sensitive behavior deterministically.

WrongStack/WrongStack · 43 tokens

fiber-rest-api

Use when adding or changing a Go HTTP endpoint — Fiber v2 or v3 (detect which), thin handlers, central error mapping, boundary validation; the same rules apply to net/http, chi, echo or gin.

makifbaysal/tasktrooper · 47 tokens

go-hexagonal-architecture

Use when adding a use case, port, repository or adapter in a Go service — where each piece goes, how errors and transactions cross layers, and how to check the import direction.

makifbaysal/tasktrooper · 43 tokens

zerolog-observability

Use when adding logging to Go code - the repository's logger with structured fields, request-scoped correlation, correct levels, no secrets or double-logging.

makifbaysal/tasktrooper · 36 tokens

backend-language-decision

Use when starting a backend task that could be built in more than one language - follow the repository's stack, or for a greenfield service choose between Go, Java, C#/.NET, TypeScript on Node.js and Rust from the task's shape.

makifbaysal/tasktrooper · 56 tokens