Skip to content

Add tv channel for Claude Code memory files - #112

Open
alycda wants to merge 1 commit into
mainfrom
claude/code-memory-file-search-b1tf1c
Open

Add tv channel for Claude Code memory files#112
alycda wants to merge 1 commit into
mainfrom
claude/code-memory-file-search-b1tf1c

Conversation

@alycda

@alycda alycda commented Aug 21, 2026

Copy link
Copy Markdown
Owner

Neither the television module nor fzf had a way to fuzzy-browse Claude
Code's memory: project CLAUDE.md files, the user-level ~/.claude/CLAUDE.md,
rules/skills content, and the auto-memory folders. A dedicated cable
channel fits the existing tools/television/cable/ pattern (same shape as
the cheat channel).

The source is a single rg sweep over $HOME with include globs rather than
fd, because ripgrep is already in lib/core-packages.nix (fzf.nix builds on
it the same way) while fd is not installed anywhere.

Specific changes:

  • tools/television/cable/claude.toml: new channel; matches CLAUDE*.md
    (including gitignored CLAUDE.local.md via --no-ignore-vcs),
    /.claude/rules/ and /.claude/skills/, and Claude's memory
    folders /.claude/{memory,memories}/ at both user and project
    level; prunes .git/node_modules/.cache so results stream fast;
    bat preview
  • home-manager/modules/tools/television.nix: wire the channel into
    television's cable directory alongside cheat

Verify after a switch with tv claude (same schema caveats as the
other channels — see the VERIFY LOCALLY note in television.nix).

Co-Authored-By: Claude noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01UVpuVNrR1sk11tZwqRea88

Neither the television module nor fzf had a way to fuzzy-browse Claude
Code's memory: project CLAUDE.md files, the user-level ~/.claude/CLAUDE.md,
rules/skills content, and the auto-memory folders. A dedicated cable
channel fits the existing tools/television/cable/ pattern (same shape as
the cheat channel).

The source is a single rg sweep over $HOME with include globs rather than
fd, because ripgrep is already in lib/core-packages.nix (fzf.nix builds on
it the same way) while fd is not installed anywhere.

Specific changes:
- tools/television/cable/claude.toml: new channel; matches CLAUDE*.md
  (including gitignored CLAUDE.local.md via --no-ignore-vcs),
  **/.claude/rules/** and **/.claude/skills/**, and Claude's memory
  folders **/.claude/{memory,memories}/** at both user and project
  level; prunes .git/node_modules/.cache so results stream fast;
  bat preview
- home-manager/modules/tools/television.nix: wire the channel into
  television's cable directory alongside cheat

Verify after a switch with `tv claude` (same schema caveats as the
other channels — see the VERIFY LOCALLY note in television.nix).

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVpuVNrR1sk11tZwqRea88
@github-actions

Copy link
Copy Markdown
Contributor

⊕ Entity-level changes

home-manager/modules/tools/television.nix

Status Type Name
Δ binding xdg.configFile

tools/television/cable/claude.toml

Status Type Name
+ orphan module-level
+ section metadata
+ section source
+ section preview

Summary: 4 added, 1 modified across 2 files (1 added orphan)

functions and classes, not lines · sem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants