1
0
Fork 0
mirror of https://github.com/SeriousBug/dotfiles synced 2026-07-27 12:35:37 -05:00
Commit graph

9 commits

Author SHA1 Message Date
Kaan Barmore-Genc 1aea5cf659 cc-compact: recursively summarize the /clear -> cc-compact lineage
Follow the chain of ancestor sessions each session was compacted from, up
to --max-depth (default 10), summarizing each older session more tightly
via a per-depth decay factor. Guards against cycles and already-visited
sessions. Bounds the full chain to ~24k tokens worst case.
2026-07-21 02:54:53 -05:00
Kaan Barmore-Genc 876ac92432 cc-compact: auto-select latest session when no selector given
Default to the most recently active session in the current project,
excluding the caller's own session (found via CLAUDE_CODE_SESSION_ID).
Lets you run /clear then cc-compact to reload the just-cleared session,
emulating Claude Code's built-in /compact.
2026-07-21 02:49:15 -05:00
Kaan Barmore-Genc 705e914ea0 Clarify FULL synchronous is rarely needed in sqlite skill 2026-07-20 20:49:27 -05:00
Kaan Barmore-Genc 549186d37b Add sqlite skill with recommended PRAGMA and STRICT defaults 2026-07-20 20:45:52 -05:00
Kaan Barmore-Genc 9ef9604f61 Add machine-safety, agents, and commit-often rules to CLAUDE.md; tighten new-work step 2
Claude-Session: https://claude.ai/code/session_01RyUSWPV85RTPNY4H66Jnkw
2026-06-30 01:52:52 -05:00
Kaan Barmore-Genc ff46310c0e Add compact-file skill for compressing memory files
Vendored the caveman-compress skill from JuliusBrussee/caveman and
renamed it to compact-file. Compresses natural language memory files
(CLAUDE.md, todos) to save input tokens; preserves code, URLs, paths,
and structure, with a verified out-of-tree backup.

Claude-Session: https://claude.ai/code/session_01B8oPygSSYuomdr8pKxLwko
2026-06-29 14:36:09 -05:00
Kaan Barmore-Genc a0c3471053 Add respond-to-pr skill
Gathers a GitHub PR's title, description, reviews, per-line comments, and
conversation comments via gh into one XML report (gather_pr.py), tagging each
author as is_me/is_bot/is_human and giving every comment an id. The skill reads
that output, evaluates each review point, fixes obvious bugs/security issues,
asks the user on nuanced calls, replies to bots directly, and confirms with the
user before replying to humans.

Claude-Session: https://claude.ai/code/session_01AhP6LpRrKxH7yJPb6pfLFE
2026-06-20 00:32:15 -05:00
Kaan Barmore-Genc b27d93727d Add cc-query-chat skill for searching past sessions
Companion to cc-compact: resolves a session by id or name, then searches
across user prompts, agent replies, commands, file ops, tool calls, and
tool output via regexp, glob, or ranked keyword matching. Bounded output
(centred snippets, --limit/--truncate tuned to ~2k tokens). cc-compact now
points to it for closing concrete gaps the compact report leaves open.
2026-06-07 14:22:00 -05:00
Kaan Barmore-Genc b0070920e3 Add cc-compact skill and claude-token-count CLI
- cc-compact: skill to reload a past Claude Code session's context
  (resolves by id or ai-title, extracts a bounded XML summary via
  compact_session.py) so work can be resumed without ingesting the log
- migrate the existing new-work skill into the repo
- deploy ~/.claude/skills via ensure_dir_symlink in setup.sh
- claude-token-count: count tokens via Anthropic's count_tokens endpoint,
  pulling the API key from 1Password at runtime
2026-05-31 02:28:42 -05:00