Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/danielrosehill-setup-agent-logs
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/setup-agent-logs
What's inside
- Skill name
setup-agent-logs- Description
- First-run setup for the session log archive. Creates a private Agent-Logs repo on GitHub, clones it locally, and saves the path to memory so handovers auto-archive there. Triggers on phrases like "set up agent logs", "configure handover logging", "where should handovers go", "setup session logs".
- License
- MIT
- Instructions
- 146 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- files: referenced but missing: scripts/ingest.py
Files (1)
- SKILL.md
SKILL.md (first lines)
# Setup Agent Logs One-time setup that creates the private repo where session handovers are archived, and persists the location so the handover-writer agent can find it in future sessions. ## When to use - First time using the session-transfer plugin on a new machine - User says "set up agent logs", "configure handover logging", "setup session logs" - The handover-writer can't find the archive repo and suggests running this ## Migration from legacy path (one-time) Before resolving the data directory, check for legacy data at these paths: - `~/.claude/projects/-home-*/memory/reference_agent_logs.md` If a legacy file exists AND `<plugin-data-dir>/references/agent_logs.md` does NOT exist, move it to the new location and delete the legacy file. Tell the user: "Migrated reference_agent_logs.md from ~/.claude/projects/.../memory/ to <new>." ## Path resolution Resolve the plugin's data directory as `$CLAUDE_USER_DATA/dev-tools/` if `CLAUDE_USER_DATA` is set; otherwise `$XDG_DATA_HOME/claude-plugins/dev-tools/` if `XDG_DATA_HOME` is set; otherwise `~/.local/share/claude-plugins/dev-tools/`. Create the directory (and a `references/` subdirectory) if it doesn't exist. See the canonical convention in the `rudder:plugin-data-storage` skill. ## Procedure ### 1. Check if already configured Check `<plugin-data-dir>/references/agent_logs.md` for a saved Agent-Logs archive path. If it exists, read it and confirm the path is still valid: ```bash ls <saved-path>/README.md ``` If the path exists and is a git repo, tell the user it's already set up and show the path. Done. ### 2. Ask where to store logs Ask the user where they want the Agent-Logs repo. Suggest a default based on their filesystem: - If `~/repos/github/my-repos/` exists: suggest `~/repos/github/my-repos/Agent-Logs/` - Otherwise: suggest `~/Agent-Logs/` The user can accept the default or provide a custom path. ### 3. Check if the repo already exists on GitHub ```bash gh repo view danielrosehill/Agent-Logs --json name 2>/dev/null ``` If it exists, clone it to the chosen path and skip to step 5. ### 4. Create the repo Create the directory, initialize it, and push to GitHub as a **private** repo: ```bash mkdir -p <path> cd <path> git init git branch -m main ``` Write the repo by cloning the template from the existing `danielrosehill/Agent-Logs` repo on GitHub if it exists. If not, scaffold manually with these files: - `CLAUDE.md` -- **required** -- defines the repo's purpose, structure, JSON schema, and how to query. Seed it with: ```markdown # Agent-Logs Private archive of Claude Code session handovers and agent logs. ## Purpose This repo stores structured JSON session logs produced by the handover-writer agent every time a session handover is created. It serves as a queryable history of all Claude Code sessions -- what was worked on, what's pending, what's blocked. ## Structure \`\`\` DDMMYY/ HHMMSS_model-name.json Structured session log (one per handover) sessions.db SQLite database (derived, gitignored) scripts/ ingest.py Scans JSON files → inserts into SQLite \`\`\` ## How logs arrive The session-transfer plugin's handover-writer agent automatically writes a JSON file here after every handover. The agent then runs python3 scripts/ingest.py to update the SQLite index. ## JSON schema Each log file contains: created, model, agent_type, working_directory, repository, branch, last_commit, blocked, user_input_needed, debugging_required, pending_tasks, goal, completed, in_progress, not_started, blockers, resumption_summary. ## Working in this repo - Don't edit JSON files -- they are append-only records written by agents - Regenerate the DB at any time: python3 scripts/ingest.py - Query with SQLite: sqlite3 sessions.db "SELECT created, model, goal FROM sessions ORDER BY created DESC LIMIT 10" - The DB is gitignored -- it's a derived artifact rebuilt from JSON files ``` - `README.md` -- documenting the JSON + SQLite structure - `.gitignore` with `.DS_Store`, `.env`, `sessions.db` - `scripts/ingest.py` -- the ingestion script that scans `DDMMYY/*.json` and inserts into `sessions.db` The ingestion script, CLAUDE.md, and README are maintained in the canonical `danielrosehill/Agent-Logs` repo -- prefer cloning over scaffolding from scratch. Commit and push: ```bash git add -A git commit -m "Initial scaffold for agent session logs" gh repo create danielrosehill/Agent-Logs --private --source=. --push ``` ### 5. Save to memory Write a reference file so future sessions know where the archive lives: **File**: `<plugin-data-dir>/references/agent_logs.md`
From danielrosehill/Claude-Rudder, MIT.
More from danielrosehill/Claude-Rudder
- 0.470score
install-from-github
danielrosehill
Use when the user points at a GitHub repo (an agent skill, MCP server, or "Claude plugin"-ish project) and wants to install or register it.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
plugin-data-storage
danielrosehill
Canonical reference for where Claude Code plugins should persist user data.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
scaffold-planning
danielrosehill
Create a lightweight `planning/` folder in the current repo with leftover-tasks.md, blockers.md, session-logs/, and handovers/.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
context-gate
danielrosehill
One-shot context-checkpoint workflow — when the current session is getting cluttered, write a structured handover plan capturing what's done and what's…
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
context-workflow-reference
danielrosehill
Reference and worked example for the CONTEXT.md / CLAUDE.md two-file workflow.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
save-plan
danielrosehill
Save a Claude Code plan (from ExitPlanMode, design discussion, or multi-step task) to persistent storage.
SkillAFreshness: A★ 2Claude Code +9 - 0.467score
extract-skill
danielrosehill
Synthesize a new SKILL.md from the procedure that was just followed in this session, so the next session can replay it without being briefed from scratch.
SkillAFreshness: A★ 2Claude Code +9 - 0.348score
log-blocker
danielrosehill
Append a known blocker to `<repo>/planning/blockers.md` (auto-scaffolds if missing).
SkillDFreshness: D★ 2Claude Code +9 - 0.348score
fork-new-direction
danielrosehill
Create a new repo that starts from the current repo's state but takes a new direction — copy the code, seed CLAUDE.md with the revised approach, and push.
SkillDFreshness: D★ 2Claude Code +9 - 0.348score
capture-leftover
danielrosehill
Capture a follow-up task that surfaced mid-flow but shouldn't distract from the current focus.
SkillDFreshness: D★ 2Claude Code +9 - 0.348score
mirror-to-private
danielrosehill
Create a private GitHub repo that mirrors the current public repo.
SkillDFreshness: D★ 2Claude Code +9 - 0.348score
repo-from-thread
danielrosehill
Create a new GitHub repo seeded with context from the current conversation.
SkillDFreshness: D★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 15, 2026 (13 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/danielrosehill/Claude-Rudder
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from danielrosehill
- 0.470score
plugin-data-storage
danielrosehill
Canonical reference for where Claude Code plugins should persist user data.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
save-plan
danielrosehill
Save a Claude Code plan (from ExitPlanMode, design discussion, or multi-step task) to persistent storage.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
onboard
danielrosehill
First-run onboarding for the adb-ops plugin.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
context-gate
danielrosehill
One-shot context-checkpoint workflow — when the current session is getting cluttered, write a structured handover plan capturing what's done and what's…
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
context-workflow-reference
danielrosehill
Reference and worked example for the CONTEXT.md / CLAUDE.md two-file workflow.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
scaffold-planning
danielrosehill
Create a lightweight `planning/` folder in the current repo with leftover-tasks.md, blockers.md, session-logs/, and handovers/.
SkillAFreshness: A★ 2Claude Code +9
Cite this page
setup-agent-logs skill. Agent Mart. https://agentmart.dev/skills/danielrosehill-setup-agent-logs (last updated 2026-10-24)