{"id":41651609,"url":"https://github.com/mblode/claude-code-search","last_synced_at":"2026-01-24T16:13:17.151Z","repository":{"id":329083426,"uuid":"1117961025","full_name":"mblode/claude-code-search","owner":"mblode","description":"Search through your Claude Code history","archived":false,"fork":false,"pushed_at":"2026-01-03T00:26:49.000Z","size":1157,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-06T02:34:42.253Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/claude-code-search","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mblode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"mblode"}},"created_at":"2025-12-17T04:16:48.000Z","updated_at":"2026-01-03T00:26:53.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mblode/claude-code-search","commit_stats":null,"previous_names":["mblode/claude-code-search"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mblode/claude-code-search","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mblode%2Fclaude-code-search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mblode%2Fclaude-code-search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mblode%2Fclaude-code-search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mblode%2Fclaude-code-search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mblode","download_url":"https://codeload.github.com/mblode/claude-code-search/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mblode%2Fclaude-code-search/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28731223,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T10:24:43.181Z","status":"ssl_error","status_checked_at":"2026-01-24T10:24:36.112Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-24T16:13:16.488Z","updated_at":"2026-01-24T16:13:17.146Z","avatar_url":"https://github.com/mblode.png","language":"TypeScript","funding_links":["https://github.com/sponsors/mblode"],"categories":[],"sub_categories":[],"readme":"# ccs - Claude Code Search\n\n[![npm version](https://img.shields.io/npm/v/claude-code-search.svg)](https://www.npmjs.com/package/claude-code-search)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nLike [fzf](https://github.com/junegunn/fzf) or [atuin](https://github.com/atuinsh/atuin), but for your Claude Code prompts.\n\n![ccs example](./example.png)\n\n## Why?\n\nYour best prompts are buried across dozens of Claude Code sessions. This tool lets you instantly search and reuse them instead of rewriting from scratch.\n\n## Install\n\n```bash\nnpm install -g claude-code-search\n```\n\n## Usage\n\n```bash\nccs                     # Launch interactive TUI\nccs -l                  # List recent prompts\nccs -s \"refactor\"       # Search for \"refactor\"\nccs -l -j               # Output as JSON\nccs -l -n 50            # List last 50 prompts\nccs -p /path/to/proj    # Filter by project path\n```\n\nSelect a prompt and it's copied to your clipboard, ready to paste.\n\n### Pipe to Claude\n\nExtract insights from your prompt history:\n\n```bash\nccs -l | claude \"what patterns do you see in how I prompt?\"\nccs -s \"refactor\" -j | claude \"summarize these prompts\"\n```\n\n## Features\n\n- **Fuzzy search** - Find prompts by any words they contain\n- **Relevance ranking** - Results sorted by match quality, not just date\n- **Split-pane preview** - See full content before selecting\n- **Quick jump** - Press 1-9 to instantly select\n- **Filter modes** - Search globally or within current directory\n- **Non-interactive mode** - Use with `-l` or `-s` for scripting\n- **Color support** - Respects `NO_COLOR` and `FORCE_COLOR`\n\n## CLI Options\n\n```\nOptions:\n  -l, --list            List all prompts (non-interactive)\n  -s, --search \u003cquery\u003e  Search prompts with query (non-interactive)\n  -j, --json            Output as JSON (use with -l or -s)\n  -n, --limit \u003cn\u003e       Limit number of results (default: 100)\n  -p, --project \u003cpath\u003e  Filter by project path\n  -v, --version         Show version number\n  -h, --help            Show help\n```\n\n## Keyboard Shortcuts\n\n| Key | Action |\n|-----|--------|\n| `↑` / `↓` or `j` / `k` | Navigate results |\n| `1-9` | Quick jump to result |\n| `Enter` | Copy \u0026 exit |\n| `Ctrl+R` / `Shift+Tab` | Toggle global/directory filter |\n| `Esc` / `Ctrl+C` | Quit |\n\n## Exit Codes\n\n| Code | Meaning |\n|------|---------|\n| 0 | Success |\n| 1 | General error |\n| 2 | Invalid arguments |\n| 3 | No results found |\n\n## Requirements\n\n- Node.js \u003e= 18\n- Claude Code (reads from `~/.claude/projects/`)\n\n## License\n\nMIT - Matthew Blode\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmblode%2Fclaude-code-search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmblode%2Fclaude-code-search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmblode%2Fclaude-code-search/lists"}