limina

A template for running a persistent research project with a small knowledge base and an evidence flow from hypotheses to experiments to findings. It supports both Claude Code and Codex.

In plain words
What is it for?
It is for setting up a research project, storing mission and active-state files, running experiments, and maintaining durable research records.
Why use it?
It keeps research context and results organised across long sessions instead of relying on one conversation.

Skill for Claude CodeCodex

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 skills/theam/limina/skill
Any agent
npx skills add theam/limina --skill skill
Clone the repo
git clone --depth 1 https://github.com/theam/limina

Made for: Claude Code, Codex.

Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 969 The whole file, excluding the scripts and references it only reads on demand.
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.00036 $0.00969
Opus 5 $0.00018 $0.00485
Sonnet 5 $0.00007 $0.00194
Haiku 4.5 $0.00004 $0.00097

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

Security

Grade A, and why

limina 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 2d 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.

skill/SKILL.md · 171 lines

How it starts

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

Limina

Limina is a small research-first agent template for Claude Code and Codex. It keeps durable evidence in kb/ without dragging a large operational ledger into every session. Projects also get a ready-to-send /goal command for long-running continuity.

Workflow

Step 1: Introduce Limina

Before asking setup questions, explain:

What you're setting up: an autonomous research project with a persistent knowledge base, a narrow active-state file, and a required H -> E -> F evidence flow.

The agent can work across long sessions, but the always-on context stays small: mission brief, active state, and only the relevant artifacts for the current step. Claude Code and Codex are both supported; both get a generated /goal.

Step 2: Ask for a project name

Default: limina-research.

Step 3: Clone the template

Clone https://github.com/theam/limina.git into ./<project-name>/, then remove .git and initialize a fresh repo.

Step 4: Check prerequisites

Verify that python3, git, and either Claude Code or Codex are available.

The template's core scripts use the Python standard library and do not require a package install. If the user also wants to develop Limina itself or run the complete repository test suite and has uv, install the locked development environment:

uv sync --locked --dev

Step 5: Define the mission

Ask for:

  1. objective
  2. context or baseline
  3. success criteria
  4. resources and boundaries
  5. blocked stop condition

Use concise examples and keep the prompt focused on the research problem, not on project administration.

Step 6: Write the mission brief

Create kb/mission/CHALLENGE.md with:

---
aliases: ["CHALLENGE"]
type: mission
---

# Research Mission

## Objective

<objective>

## Context

<context or "No additional context provided.">

## Success Criteria

<success criteria>

## Resources & Boundaries

<allowed resources, budget, data, tools, and off-limits areas>

## Constraints

- Ask when blocked on access, trust in the evaluation, or strategic decisions.
- Persist durable evidence in `kb/`.
- Keep active state in `kb/ACTIVE.md`.

## Blocked Stop Condition

<when the agent should stop and ask for help>

## Links

- Active State: [[ACTIVE]]
- Dashboard: [[DASHBOARD]]

Read the full file on GitHub · 171 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. 2d ago First seen · 171 lines · 36 tokens per session scan A 94bff2fcf685

Subscribe to this mod's changes

limina is a skill published in the GitHub repository theam/limina (39 stars, last pushed 25d ago), licensed Apache-2.0. It adds 36 tokens to every session and 969 once invoked, about $0.0002 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-30.