zeno-agent: Skill for Claude Code

.agents/skills/memex-link/SKILL.md

memex-link is a skill for Claude Code, Codex from ribeirogab/zeno-agent. It costs 103 tokens per session (1,140 once invoked), scanned A, original, MIT.

A tool for finding missing links between notes in a .vault knowledge base. It checks note text and titles for evidence that two notes are related, then suggests adding frontmatter related links, which are metadata links attached to a note.

In plain words
What is it for?
Use it to scan a vault, identify high- and medium-confidence cross-link candidates, review the reasons for each suggestion, and approve or skip individual link additions.
Why use it?
It helps reveal related notes that are not yet connected while avoiding speculative links and requiring confirmation before editing anything.

Skill for Claude CodeCodex

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

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

Reuse

Borrowing it

Nothing to install: this file belongs to ribeirogab/zeno-agent. 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/ribeirogab/zeno-agent/main/.agents/skills/memex-link/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ribeirogab/zeno-agent

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 memex-link

README.md
[![agentmods](https://agentmods.dev/badge/skills/ribeirogab/zeno-agent/memex-link.svg)](https://agentmods.dev/skills/ribeirogab/zeno-agent/memex-link)
Your own site
<a href="https://agentmods.dev/skills/ribeirogab/zeno-agent/memex-link"><img src="https://agentmods.dev/badge/skills/ribeirogab/zeno-agent/memex-link.svg" alt="Measured on agentmods" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,140 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.
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.00103 $0.01140
Opus 5 $0.00051 $0.00570
Sonnet 5 $0.00021 $0.00228
Haiku 4.5 $0.00010 $0.00114

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

Security

Grade A, and why

memex-link 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 8d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/find-candidates.sh, tests/run.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/memex-link/SKILL.md · 109 lines

How it starts

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

Analyze the .vault/ vault and surface candidate related: frontmatter additions where genuinely necessary.

Announce at start: "Analyzing vault for missing cross-links..."

Mode of Operation

Four phases. Detection is deterministic (Bash). Presentation and editing are interactive (agent + user).

  1. Detect — invoke scripts/find-candidates.sh "$SCOPE" (where $SCOPE is the optional argument from the slash command).
  2. Classify — read JSON from stdout; map evidence_type to confidence (high/medium).
  3. Present — render markdown table grouped by confidence, with one-line rationale.
  4. Loop — interactive y/n/skip-rest per item; on y, edit source's related: frontmatter to add the wikilink.

If no candidates surface, say No cross-link suggestions. Vault is well-connected. and stop.

Phase 1 — Detect

Sanity-check command -v jq first — if absent, abort with memex-link requires jq. Install with: brew install jq (or platform-appropriate hint).

Then run the deterministic detector:

SCOPE="$1"   # optional argument from slash command
SKILL_DIR="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"
bash "$SKILL_DIR/scripts/find-candidates.sh" "$SCOPE" > /tmp/memex-link-candidates.json

If the script exits with code 2, surface its stderr and stop. If exit 0 and stdout is [], report "Vault is well-connected" and stop.

Phase 2 — Classify

For each candidate, map evidence_type to confidence:

evidence_type Confidence
wikilink_in_body high
filepath_in_body medium
title_in_body medium
shared_heading_terms medium

No "low" bucket; the script does not emit anything that would qualify.

Phase 3 — Present

Render a markdown table grouped by confidence:

## Cross-Link Suggestions — N candidates (H high, M medium)

| # | conf | source → target | rationale |
|---|---|---|---|
| 1 | high | spec-rename… → memex | wikilink in body line 14 |
| 2 | medium | sweep → mechanical-enforcement-over-prose | shared H2 terms: feedforward, feedback |

Read the full file on GitHub · 109 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 · 109 lines · 103 tokens per session scan A 372b58e3e9ed

Subscribe to this mod's changes

memex-link is a skill published in the GitHub repository ribeirogab/zeno-agent (9 stars, last pushed 3mo ago), licensed MIT. It adds 103 tokens to every session and 1,140 once invoked, about $0.0005 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

hive.context-preservation

Proactively extract critical values from tool results into working notes before automatic context pruning destroys them.

aden-hive/hive · 24 tokens

hive.note-taking

Maintain a free-form scratchpad of decisions, extracted values, and open questions so context pruning doesn't lose anything you still need.

aden-hive/hive · 30 tokens

caveman-compress

Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens. Preserves all technical substance, code, URLs, and structure. Compressed version overwrites the original file. Human-readable backup saved as FILE.original.md. Trigger: /caveman-compress FILEPATH or…

stevesolun/ctx · 77 tokens

continuous-learning-v2

Instinct-based learning system that observes sessions via hooks, creates atomic instincts with confidence scoring, and evolves them into skills/commands/agents.

sangrokjung/claude-forge · 33 tokens

lat-md-knowledge-graph

Design or audit a repo-local markdown knowledge graph with wiki links, source-code backlinks, drift checks, and searchable sections. Use when AGENTS.md/CLAUDE.md is too flat for a large codebase or when a custom harness needs durable structured project memory.

stevesolun/ctx · 60 tokens

dream

Prunes and consolidates the project's auto-memory to keep it minimal — deletes stale, wrong, or redundant memories, merges overlapping ones into existing files, and trims the index. Strong bias against growth: never creates new memory files and never stores new facts. Verifies staleness against the current codebase…

oprogramadorreal/optimus-claude · 85 tokens