{"id":49993942,"url":"https://github.com/juandarn/rawcode","last_synced_at":"2026-05-19T06:39:15.223Z","repository":{"id":356830610,"uuid":"1188918028","full_name":"juandarn/rawcode","owner":"juandarn","description":"OpenCode's philosophy for Claude Code. Install it, and Claude Code thinks different. No commands, no agents — just a system prompt that makes Claude code better.","archived":false,"fork":false,"pushed_at":"2026-05-10T00:42:58.000Z","size":51,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-10T01:27:22.360Z","etag":null,"topics":["ai-agent","ai-coding","anthropic","claude","claude-code","claude-code-plugin","code-quality","developer-tools","llm","opencode","owasp","plugin","prompt-engineering","security","system-prompt","tdd"],"latest_commit_sha":null,"homepage":"https://github.com/juandarn/rawcode#readme","language":"Shell","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/juandarn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2026-03-22T18:56:03.000Z","updated_at":"2026-05-10T00:43:02.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/juandarn/rawcode","commit_stats":null,"previous_names":["juandarn/rawcode"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/juandarn/rawcode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juandarn%2Frawcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juandarn%2Frawcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juandarn%2Frawcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juandarn%2Frawcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/juandarn","download_url":"https://codeload.github.com/juandarn/rawcode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juandarn%2Frawcode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33204731,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"online","status_checked_at":"2026-05-19T02:00:06.763Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-agent","ai-coding","anthropic","claude","claude-code","claude-code-plugin","code-quality","developer-tools","llm","opencode","owasp","plugin","prompt-engineering","security","system-prompt","tdd"],"created_at":"2026-05-19T06:39:14.171Z","updated_at":"2026-05-19T06:39:15.212Z","avatar_url":"https://github.com/juandarn.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ch1 align=\"center\"\u003erawcode\u003c/h1\u003e\n  \u003cp align=\"center\"\u003e\n    \u003cstrong\u003eOpenCode's philosophy for Claude Code.\u003c/strong\u003e\u003cbr\u003e\n    Install it, and Claude Code thinks different.\n  \u003c/p\u003e\n  \u003cp align=\"center\"\u003e\n    \u003ca href=\"#install\"\u003eInstall\u003c/a\u003e \u0026middot;\n    \u003ca href=\"#what-changes\"\u003eWhat Changes\u003c/a\u003e \u0026middot;\n    \u003ca href=\"#guardrails\"\u003eGuardrails\u003c/a\u003e \u0026middot;\n    \u003ca href=\"CHANGELOG.md\"\u003eChangelog\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n---\n\nNo commands. No agents to pick. Just a **system prompt** that makes Claude code better.\n\n```bash\n# Install in one line\ncurl -fsSL https://raw.githubusercontent.com/juandarn/rawcode/master/setup/install.sh | bash\n```\n\n## What Changes\n\nrawcode injects a system prompt into every Claude Code session. You don't invoke anything — just open `claude` and it works.\n\n| Principle | What Claude does | Without rawcode |\n|-----------|-----------------|-----------------|\n| **Read first** | Reads existing code before writing | Generates blind, duplicates utilities |\n| **Concise** | Responds in \u003c 4 lines | 20 lines of explanation, 5 of code |\n| **Root cause** | Fixes the origin, not the symptom | Patches symptoms that come back |\n| **Minimal** | Only changes what's necessary | Drive-by refactoring, extra features |\n| **Secure** | OWASP checklist on every change | \"Be cautious with user input\" |\n| **Verify** | Runs lint and tests after every change | Says \"done\" without checking |\n| **No fluff** | No preamble, no summaries, no praise | \"Great question! Let me explain...\" |\n\nEverything stays native — `/plan`, `/compact`, and all Claude Code features work as usual.\n\n## Install\n\n### Mac / Linux\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/juandarn/rawcode/master/setup/install.sh | bash\n```\n\n### Windows\n\n```powershell\nirm https://raw.githubusercontent.com/juandarn/rawcode/master/setup/install.ps1 | iex\n```\n\n### Manual\n\n```bash\ngit clone https://github.com/juandarn/rawcode.git ~/.claude/plugins/rawcode\n```\n\n## Guardrails\n\nAutomatic protections that run without you doing anything:\n\n| Guardrail | What it does |\n|-----------|-------------|\n| **Protect sensitive files** | Blocks editing `.env`, migrations, lock files |\n| **Read before write** | Reminds Claude to read files before modifying them |\n| **Sanitize commits** | Strips auto-generated attribution from commit messages |\n\n## How it Works\n\nrawcode is a [Claude Code plugin](https://docs.anthropic.com/en/docs/claude-code). It has three components:\n\n```\nrawcode/\n├── agents/rawcode.md        # The system prompt — this is rawcode\n├── guardrails/              # Automatic protections (hooks)\n│   ├── protect-sensitive-files.sh\n│   ├── enforce-read-before-write.sh\n│   └── sanitize-commit.sh\n└── ui/statusline.sh         # Shows model, context %, cost, git branch\n```\n\nThe system prompt is injected into every session. The guardrails intercept tool calls to prevent common mistakes. That's it.\n\n## Statusline\n\nrawcode adds a powerline-style status bar showing real-time info:\n\n```\n rawcode  @agent   sonnet  ctx:45%  $0.12   main\n```\n\n- **Context color**: green (\u003c 60%), yellow (60-79%), red (\u003e= 80% — compact now)\n- **Cost**: running session cost\n- **Branch**: current git branch\n\n## Uninstall\n\n```bash\n~/.claude/plugins/rawcode/setup/uninstall.sh\n```\n\n## Contributing\n\n1. Fork the repo\n2. Create your branch (`git checkout -b my-change`)\n3. Run tests: `bats tests/`\n4. Push and open a PR\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuandarn%2Frawcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuandarn%2Frawcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuandarn%2Frawcode/lists"}