AGENT SKILL

memory-mine

Run one deterministic, budgeted directed-capture batch for an explicit Claude Code project store. Use manual workspace mode only when cross-agent cass sessions are intentionally in scope.

License 许可
MIT
最近更新
2026-11-15
Stars
★ 1
Forks
0

01 前言 Front Matter

name
memory-mine
description
Run one deterministic, budgeted directed-capture batch for an explicit Claude Code project store. Use manual workspace mode only when cross-agent cass sessions are intentionally in scope.
allowed-tools
Bash, Read
argument-hint
<project-slug> [workspace:/absolute/path]
disable-model-invocation
true

02 资源文件 1

03 SKILL.md 正文

Memory Mine: one bounded capture batch

Mining expands project memory with session-derived notes; /memory-dream:dream later consolidates them. memory-mine-controller.py owns scope, admission, one restricted drafter, deterministic validation/application, checkpoints, and body-free receipts. Do not reproduce those stages in this skill.

Prerequisite: a model proxy

The drafter child gets no credential variables from the environment. The controller sets its ANTHROPIC_BASE_URL to MEMORY_MINE_PROXY_URL, default http://localhost:8788, so an Anthropic-compatible proxy must answer there. An empty or non-http URL is refused before the launch is recorded and costs nothing. A launch whose proxy does not answer is recorded first and counts against the ISO-week budget in step 2. Without a proxy, do not run this skill.

1. Require one explicit project

The first argument is exactly one Claude Code project slug such as -home-user-SITES-acme-app. Reject all, lists, globs, and a missing slug. When the slug begins with -, pass it using --project=<slug> so argparse cannot treat it as an option.

An optional second argument may be workspace:/absolute/path. This is a manual-only request to include cass-discovered cross-agent sessions for that exact workspace. The controller validates the workspace and still selects exactly one two-session batch. Scheduled runs never accept a workspace and never guess one from the slug.

2. Invoke the controller once

Without a workspace:

python3 ~/.claude/scripts/memory-mine-controller.py --project=<slug>

With an explicit workspace:

python3 ~/.claude/scripts/memory-mine-controller.py \
  --project=<slug> --workspace /absolute/path

Run one command only. The controller is the sole owner of model launch, drafting, validation/application, retry policy, and store scope. Its ISO-week budget includes failed and interrupted launches.

3. Report the body-free result

  • complete: report the run ID; the private final receipt carries counts and usage.
  • no-work: the explicit store has fewer than two settled unmined sessions.
  • budget-exhausted: three drafter attempts already started in this ISO week.
  • nonzero exit: report only the controller's closed failure code and private run ID when present. Never print frozen session content, candidate note bodies, or raw child output.

A successful batch may write candidate-maturity notes or mark a reviewed session no-durable-knowledge; both are deterministic progress. If accumulated candidate notes later overlap or decay, hand consolidation to /memory-dream:dream rather than merging or archiving here.

04 同仓库更多 Skills

StartupBros-com
StartupBros-com/hov-stack

review-adversarial-first

Operator-invoked adversarial review: 3 refute-by-default lenses plus a deterministic judge against a PR, branch, or path, then a decision on whether /ce-code-review's topic fan-out runs. Off the default merge path since the 2026-10-17 merge-and-end ruling; run only when asked for by name.

★ 1
StartupBros-com
StartupBros-com/hov-stack

papers

Search preprints from arXiv, bioRxiv, and medRxiv without API keys. Supports search, lookup, extraction, citations, enrichment, and paper downloads that bundle PDFs plus linked GitHub code.

★ 1
StartupBros-com
StartupBros-com/hov-stack

papers

Search preprints from arXiv, bioRxiv, and medRxiv without API keys. Supports search, lookup, extraction, citations, enrichment, and paper downloads that bundle PDFs plus linked GitHub code.

★ 1
StartupBros-com
StartupBros-com/hov-stack

wsl-cdp

Drive the user's real, logged-in Windows browser (Chrome, Edge, or Brave) from a Claude Code session running inside WSL2, over the Chrome DevTools Protocol - read authenticated dashboards and consoles, take real screenshots, open and read pages with the user's sessions. Use when a task needs the user's existing web logins and the session runs in WSL2, where the Claude in Chrome extension cannot work. Not for native-Windows or macOS Claude Code (use the official Claude in Chrome extension), not for anonymous scraping or CI (use headless Playwright inside WSL), not for getting past login walls (those are handed to the human).

★ 1
StartupBros-com
StartupBros-com/hov-stack

token-eater

[BETA] Spend a subscription's idle, about-to-expire credits on safe, machine-verified cleanup. You pick the service (Grok / Codex / Claude) and a token-heavy maintenance skill (de-monolithize, de-slop, simplify, dead-code); that service runs the whole skill -> gate -> self-review -> draft-PR loop on its own credits, in an isolated worktree. token-eater verifies the gate and never merges. Manual invocation only during beta.

★ 1
StartupBros-com
StartupBros-com/hov-stack

tune

Find and fix real defects in a skill, AGENTS.md, or CLAUDE.md, then prove the description still routes. Runs the bundled token-spending runner, so it starts only on the human's explicit instruction.

★ 1