skills/done/SKILL.md
Summarize session findings and save to Obsidian vault (user)
npx skillsauth add gentamura/dotfiles doneInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Capture everything from the current session (Claude Code or Codex) and save it to the Obsidian vault.
Run these commands to collect context:
# Current date
date +%Y-%m-%d
# Git branch
git branch --show-current 2>/dev/null || echo "no-branch"
# Project name (directory name)
basename "$PWD"
# Short session identifier (timestamp-based)
date +%H%M%S
# Detect agent and get session ID for resume
# Claude Code sets CLAUDECODE=1; Codex sets CODEX_THREAD_ID
if [ -n "$CLAUDECODE" ]; then
echo "agent=claude-code"
SESSION_ID=$(tail -100 ~/.claude/history.jsonl 2>/dev/null \
| python3 -c "import sys,json; ids=[json.loads(l).get('sessionId','') for l in sys.stdin if 'sessionId' in l]; print(ids[-1] if ids else 'unknown')" 2>/dev/null)
echo "session_id=${SESSION_ID}"
echo "resume=claude --resume ${SESSION_ID}"
elif [ -n "$CODEX_THREAD_ID" ]; then
echo "agent=codex"
echo "session_id=${CODEX_THREAD_ID}"
echo "resume=codex resume ${CODEX_THREAD_ID}"
echo "resume_exec=codex exec resume ${CODEX_THREAD_ID} \"<prompt>\""
else
echo "agent=unknown"
echo "session_id=unknown"
fi
Review the entire conversation and extract:
Save to: $OBSIDIAN_VAULT/Sessions/
Before saving, verify and prepare the target directory:
[ -n "$OBSIDIAN_VAULT" ] || { echo "OBSIDIAN_VAULT is not set"; exit 1; }
mkdir -p "$OBSIDIAN_VAULT/Sessions"
Requires:
OBSIDIAN_VAULTenvironment variable. Set it in~/.zshrc.local:# 00-env export OBSIDIAN_VAULT="$HOME/Documents/Obsidian Vault"If unset, abort and ask the user to configure it.
File name format: YYYY-MM-DD-<branch>-<time>.md
Example: 2026-02-18-main-143022.md
---
date: <YYYY-MM-DD>
project: <project-name>
branch: <branch-name>
session_id: <UUID>
agent: <claude-code | codex | unknown>
model: <model-name>
tags:
- session
- <agent-name>
---
# Session: <project> / <branch> (<date>)
## Summary
<1-3 sentence overview of what was accomplished>
## Agent
- **Agent**: <claude-code | codex | unknown>
- **Model**: <model name, e.g. claude-sonnet-4-6 or o4-mini>
- **Resume**: `<resume command>`
## What Was Discussed
<Bullet points of topics covered in the session>
## Key Decisions
<Technical choices made, with brief rationale>
- **Decision**: Why
## Changes Made
<Files created, modified, or deleted>
- `path/to/file` — what changed and why
## Questions & Clarifications
<Open questions or things that needed clarification>
- Question or clarification point
## Follow-ups / Next Steps
<Deferred work, TODOs, or things to pick up next session>
- [ ] Next step 1
- [ ] Next step 2
## Notes
<Any other observations, gotchas, or context worth preserving>
tools
Use this skill to break down requirements into user stories, acceptance criteria, and actionable tasks. Invoke when starting a new feature or receiving new requirements.
devops
Use this skill for release preparation and execution. Invoke when deploying to staging or production environments.
development
Use this skill to review pull requests against coding standards and best practices. Invoke when reviewing code changes before merge.
tools
Use this skill to create a pull request from current local changes. Invoke when the user asks to create a branch, commit, push, and open a PR.