Add tv channel for Claude Code memory files - #112
Open
alycda wants to merge 1 commit into
Open
Conversation
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
Contributor
⊕ Entity-level changeshome-manager/modules/tools/television.nix
tools/television/cable/claude.toml
Summary: 4 added, 1 modified across 2 files (1 added orphan) functions and classes, not lines · sem |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
(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
television's cable directory alongside cheat
Verify after a switch with
tv claude(same schema caveats as theother channels — see the VERIFY LOCALLY note in television.nix).
Co-Authored-By: Claude noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01UVpuVNrR1sk11tZwqRea88