{"id":31663991,"url":"https://github.com/hugojosefson/opencode-config","last_synced_at":"2026-05-07T05:40:06.751Z","repository":{"id":317426564,"uuid":"1067332158","full_name":"hugojosefson/opencode-config","owner":"hugojosefson","description":"config, agent definitions, tools I use with opencode.ai","archived":false,"fork":false,"pushed_at":"2025-09-30T20:42:49.000Z","size":195,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-30T21:06:24.784Z","etag":null,"topics":["deno","opencode","vibe"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hugojosefson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-09-30T17:52:02.000Z","updated_at":"2025-09-30T20:42:52.000Z","dependencies_parsed_at":"2025-09-30T21:06:29.736Z","dependency_job_id":"8d735724-b833-4156-a937-4aa5c806548f","html_url":"https://github.com/hugojosefson/opencode-config","commit_stats":null,"previous_names":["hugojosefson/opencode-config"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/hugojosefson/opencode-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugojosefson%2Fopencode-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugojosefson%2Fopencode-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugojosefson%2Fopencode-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugojosefson%2Fopencode-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hugojosefson","download_url":"https://codeload.github.com/hugojosefson/opencode-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugojosefson%2Fopencode-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278846328,"owners_count":26056090,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"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":["deno","opencode","vibe"],"created_at":"2025-10-07T20:53:01.697Z","updated_at":"2026-05-07T05:40:06.744Z","avatar_url":"https://github.com/hugojosefson.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenCode configuration\n\nConfiguration files, agent definitions, and tools for\n[opencode.ai](https://opencode.ai/).\n\nClone this repository as `~/.config/opencode` to use these configurations.\n\n## What's here\n\n| File/Directory             | Description                                 |\n| :------------------------- | :------------------------------------------ |\n| [AGENTS.md](AGENTS.md)     | Global agent instructions for all projects  |\n| [config.json](config.json) | OpenCode configuration                      |\n| [agent/](agent/)           | Custom agent definitions                    |\n| [tool/](tool/)             | Custom tool implementations                 |\n| [src/](src/)               | Utility scripts for model discovery/testing |\n\n## Custom agents\n\n| Agent                           | Description                          |\n| :------------------------------ | :----------------------------------- |\n| [delegator](agent/delegator.md) | Coordination agent (delegation-only) |\n| [general](agent/general.md)     | Full-capability execution agent      |\n\n### Agent flow\n\n1. Chat with **delegator** agent (has TODO list management and task delegation\n   only)\n\n2. **Delegator** breaks requests into tasks and delegates to **general**\n   subagent instances\n\n3. **General** subagent performs actual work (file operations, code changes,\n   commands)\n\n4. Results return to **delegator** for coordination\n\nDelegator saves tokens by not loading tool descriptions. General agent spends\nall tokens on execution.\n\n### Example\n\nContext savings from delegator → general workflow:\n\n![opencode-delegator-look-at-the-context-savings.png](opencode-delegator-look-at-the-context-savings.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugojosefson%2Fopencode-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhugojosefson%2Fopencode-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugojosefson%2Fopencode-config/lists"}