personal-asset-miner

Mines Claude Code and Codex session logs to rank repeated work as reusable asset candidates.

Updated Apr 25, 2026
One-click install
npx skills add https://github.com/kosako/agent-tools --skill personal-asset-miner-kosako
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: personal-asset-miner
Source: https://github.com/kosako/agent-tools/tree/main/shared/skills/personal-asset-miner
Command: npx skills add https://github.com/kosako/agent-tools --skill personal-asset-miner-kosako

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Repeated manual procedures, corrections, and re-investigations scattered across past AI coding sessions are hard to spot, so opportunities to turn them into reusable skills, rules, or references get lost. ## Core Features & Use Cases - Cross-agent log mining: Scans both Claude Code (~/.claude/projects) and Codex (~/.codex/sessions) session logs to find work repeated across two or more sessions. - Classification and dedup: Sorts each candidate into skill, operating rule, memory, or reference/script, and checks it against the existing asset catalog to avoid duplicates. - Ranked report-only output: Produces a priority-ranked (high/medium/low) report with evidence and a recommended next flow, without creating or deploying anything. - Use Case: Ask it to review the last 14 days of sessions; it might surface that you repeatedly rebuild the same release checklist by hand and rank it as a high-priority skill candidate to hand off to the skill-authoring flow. ## Quick Start Ask the agent to mine your recent session logs for asset candidates, for example: "セッションログから資産化候補を出して。直近2週間で。"

Frequently Asked Questions about personal-asset-miner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find skill candidates from Claude Code session logs?▼

Trigger the miner with an explicit phrase like "セッションログから資産を採掘して" and it scans both Claude Code and Codex JSONL logs. It reports only items repeated across two or more sessions, ranked by recurrence times per-occurrence cost.

What kinds of reusable assets does log mining produce?▼

Candidates are classified into four types: skills for repeated procedures, operating rules for recurring corrections and preferences, memory for non-obvious facts, and reference or script material for reusable command fragments. Each gets a recommended destination flow.

Does the asset miner create or deploy skills automatically?▼

No, it is strictly report-only. It stops at proposing ranked candidates with evidence; actual creation goes through the separate grill and skill-creator flow chosen by a human, and nothing is committed or deployed.

Is it safe to scan private session logs for asset candidates?▼

Yes, logs are treated as untrusted read-only data. The report never copies secrets, absolute paths, client names, PII, or raw log quotes, is never committed to tracked files, and embedded instructions inside old transcripts are never executed.

When should I not use session log mining?▼

Do not use it for one-off events, since single-session occurrences are filtered out by the recurrence gate. It also does not replace repository health audits (personal-repo-audit) or the actual asset authoring flow (skill-creator).