From 7b1c702811cd4f9bd528fdaf42c68f10b4511cb8 Mon Sep 17 00:00:00 2001 From: Sanath Kumar U Date: Thu, 19 Feb 2026 07:23:17 +0530 Subject: [PATCH 1/2] docs: Add OpenCode examples and documentation to README. --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 3e0a7d9..55b9d38 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ ```bash review.claude.md # Run with Claude commit.gemini.md "fix auth bug" # Run with Gemini +explain.opencode.md # Run with OpenCode git diff | explain.claude.md # Pipe through any command ``` @@ -40,6 +41,7 @@ Name your file `task.COMMAND.md` and the command is inferred: ```bash task.claude.md # Runs claude task.gemini.md # Runs gemini +task.opencode.md # Runs opencode task.codex.md # Runs codex task.copilot.md # Runs copilot (print mode by default) ``` @@ -318,6 +320,7 @@ task.claude.md # Runs: claude --print "..." task.copilot.md # Runs: copilot --silent --prompt "..." task.codex.md # Runs: codex exec "..." task.gemini.md # Runs: gemini "..." (one-shot) +task.opencode.md # Runs: opencode run "..." (non-interactive) ``` ### Interactive Mode @@ -329,6 +332,7 @@ task.i.claude.md # Runs: claude "..." (interactive session) task.i.copilot.md # Runs: copilot --silent --interactive "..." task.i.codex.md # Runs: codex "..." (interactive session) task.i.gemini.md # Runs: gemini --prompt-interactive "..." +task.i.opencode.md # Runs: opencode "..." (interactive TUI) ``` Or use `_interactive` (or `_i`) in frontmatter: @@ -403,6 +407,16 @@ full-auto: true Analyze this codebase and suggest improvements. ``` +### OpenCode + +```markdown +# refactor.opencode.md +--- +model: opencode/glm-5-free +--- +Refactor the database layer to use the Repository pattern. +``` + ### Copilot (no frontmatter needed!) ```markdown From 75fd5a2de14a583873de99250c59b8bfee764f1c Mon Sep 17 00:00:00 2001 From: Sanath Kumar U Date: Sun, 1 Mar 2026 06:02:04 +0530 Subject: [PATCH 2/2] docs: replace ephemeral glm-5-free model with stable gpt-5.1-codex in README example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 55b9d38..9b00a1a 100644 --- a/README.md +++ b/README.md @@ -412,7 +412,7 @@ Analyze this codebase and suggest improvements. ```markdown # refactor.opencode.md --- -model: opencode/glm-5-free +model: opencode/gpt-5.1-codex --- Refactor the database layer to use the Repository pattern. ```