{"id":49543765,"url":"https://github.com/adiled/cc-flytrap","last_synced_at":"2026-05-02T17:01:36.319Z","repository":{"id":355212594,"uuid":"1227234286","full_name":"adiled/cc-flytrap","owner":"adiled","description":"ccft - an agentic self improvement tool","archived":false,"fork":false,"pushed_at":"2026-05-02T13:27:01.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-02T13:31:47.186Z","etag":null,"topics":["ai-alignment","brainrot","claude-code","self-improvement","system-prompt"],"latest_commit_sha":null,"homepage":"","language":"Python","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/adiled.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":"NOTICE","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-02T11:55:57.000Z","updated_at":"2026-05-02T13:27:01.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/adiled/cc-flytrap","commit_stats":null,"previous_names":["adiled/cc-flytrap"],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/adiled/cc-flytrap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adiled%2Fcc-flytrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adiled%2Fcc-flytrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adiled%2Fcc-flytrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adiled%2Fcc-flytrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adiled","download_url":"https://codeload.github.com/adiled/cc-flytrap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adiled%2Fcc-flytrap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32542201,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T12:25:33.646Z","status":"ssl_error","status_checked_at":"2026-05-02T12:24:51.733Z","response_time":132,"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":["ai-alignment","brainrot","claude-code","self-improvement","system-prompt"],"created_at":"2026-05-02T17:01:35.699Z","updated_at":"2026-05-02T17:01:36.290Z","avatar_url":"https://github.com/adiled.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cc-flytrap\n\nClaude Code optimizer. ~95% less tokens → faster + cheaper.\n\n## Install\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/adiled/cc-flytrap/main/install.sh | bash\n```\n\n## Use\n\nAfter install, Claude uses it automatically. Restart Claude if already running.\n\n## Commands\n\n| Command | Description |\n|---------|-------------|\n| `ccft start` | Start optimizer |\n| `ccft stop` | Stop |\n| `ccft status` | Check running |\n| `ccft install` | Install as service |\n| `ccft update` | Update |\n| `ccft brainrot` | Vibe-check your sessions (see below) |\n| `ccft perf` | Is ccft adding latency? (see below) |\n\n## Brainrot\n\nTwo-axis vibe-check on your sessions. Splits **bot drift** (output collapse, latency choke) from **driver drift** (input bloat, rapid-fire, session sprawl). Tells you whose fault.\n\n\u003cimg width=\"752\" height=\"486\" alt=\"Screenshot 2026-05-02 at 6 04 06 PM\" src=\"https://github.com/user-attachments/assets/1f160ebb-fd17-4874-a580-cca06a28e5ef\" /\u003e\n\nBehavioural only — derived from velocities, latencies, permutations, and volumetrics in the ledger. Never reads your content.\n\n| Command | What |\n|---|---|\n| `ccft brainrot` | Today's dashboard |\n| `ccft brainrot week` | 7-day rollup |\n| `ccft brainrot replay --follow` | Live tail of new requests |\n| `ccft brainrot diff today yesterday` | Compare two ranges |\n| `ccft brainrot session [sid]` | Drill into one session |\n| `ccft brainrot score` | One-liner for status bars |\n\n## Perf\n\nccft's own observability layer. Answers: *is ccft slowing my requests down?*\n\n```\nccft perf · today\n─────────────────\nwall        p50  1.2s   p95  8.4s   p99  31s\nupstream    p50  760ms  p95  7.1s   p99  26s\npre         p50  480ms  p95  1.2s   p99  5.4s\nccft        p50  2ms    p95  8ms    p99  14ms\n\nverdict     ccft contributes ~0.2% of wall time. not the bottleneck —\n            slowness is upstream.\n```\n\n| Bucket | Meaning |\n|---|---|\n| `wall` | total time the flow spent under ccft (request received → response complete) |\n| `upstream` | streaming response duration (`api.anthropic.com` → us) |\n| `pre` | `wall − upstream` — wait for first byte (mostly API TTFT) |\n| `ccft` | measured ccft internal processing (json parse, modify, hooks) |\n\nThe verdict gives a plain-language answer based on the median ccft time, both in absolute milliseconds and as a percentage of wall time.\n\n## Config\n\n`~/.config/ccft/ccft.json`:\n\n```json\n{\n  \"port\": 7178,\n  \"host\": \"127.0.0.1\",\n  \"system_override\": \"\",\n  \"pain\": false,\n  \"ledger\": true\n}\n```\n\n| Key | Default | Meaning |\n|---|---|---|\n| `pain` | `false` | `false` = trim bloated system prompts. `true` = leave them alone (passive observer). |\n| `ledger` | `true` | Record per-request telemetry to `~/.local/share/ccft/ledger.jsonl`. Set `false` to disable. |\n| `system_override` | `\"\"` | Custom system prompt to inject. Empty = use built-in default. Injected regardless of `pain`. |\n\n## Logs\n\n`~/.local/share/ccft/logs/`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadiled%2Fcc-flytrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadiled%2Fcc-flytrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadiled%2Fcc-flytrap/lists"}