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/github.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/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 memex-link

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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.5 $0.00041 $0.00456
Sonnet 5.5 $0.00021 $0.00228
Haiku 4.5 $0.00010 $0.00114

Measured 1mo ago against content hash 372b58e3e9ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 (10 stars, last pushed 5mo ago), licensed MIT. It adds 103 tokens to every session and 1,140 once invoked, about $0.0004 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

weekly-digests

Generate a serial week-by-week narrative digest of a project's full claude-mem timeline. Splits the timeline into per-ISO-week files, then runs one consecutive subagent per week — each receiving the prior week's carry-forward block — to produce one chapter per ISO week of data. Use when asked for "weekly digests"…

thedotmack/claude-mem · 93 tokens

cloud-sync

Set up or check claude-mem cloud sync with cmem.ai Pro. Use when the user says "set up cloud sync", "sync my memories", "cmem pro", "cloud backup", "sync status", or wants their memory database backed up or synced to their cmem.ai account.

thedotmack/claude-mem · 64 tokens

screenpipe

Search screen and audio history recorded by Screenpipe and optionally save selected context into claude-mem. Use when the user asks to recall desktop activity, a meeting, or something seen in another app through Screenpipe.

thedotmack/claude-mem · 46 tokens

emerging-techniques-long-context

Extend context windows of transformer models using RoPE, YaRN, ALiBi, and position interpolation techniques. Use when processing long documents (32k-128k+ tokens), extending pre-trained models beyond original context limits, or implementing efficient positional encodings. Covers rotary embeddings, attention biases…

davila7/claude-code-templates · 78 tokens

forget

Remove a personal fact, preference, relationship detail, topic, or prior event from Muse's active memory and stop existing copies or automations from bringing it back. Use for explicit requests such as 'forget that', 'don't remember this about me', or 'remove that from your memory'. Do not use when 'forget it' merely…

asgeirtj/system_prompts_leaks · 74 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