rea.run

2026-10-21

OpenCode dual-model × REA: investigate → SPEC → build (community case)

Public screenshot from @hanakoxbt: OpenCode session with a REA-oriented system-prompt skeleton (RESUME→ASK→SETUP→ROUTE→TRACE→REPORT→BUILD→REPO).
Community screenshot attached to [@hanakoxbt status 2112647537773391902](https://x.com/hanakoxbt/status/2112647537773391902) (X created_at ~2026-10-20T20:49Z). Hosted on rea.run for teaching; not an OpenCode or model-vendor product page.

On 2026-10-20 (X created_at about 2026-10-20T20:49Z, evening ahead of this page’s 2026-10-21 UTC+8 lab clock), @hanakoxbt described a dual-model workflow on OpenCode: a cheaper model plus REA does investigation and Evidence, then a stronger coding model rebuilds from a written SPEC. This rea.run page is a compliance teaching rewrite — product framing, a required stage table, OpenCode wiring, Evidence discipline, and FAQ. It is not a guide to evade vendor bans, spoof ownership of binaries, or clone closed-source products. Chinese: /zh/blog/rea-opencode-dual-model/.

Product one-liner: Use a cheap model + REA Evidence inside OpenCode, then let a strong coding model build from SPEC. Dual-model here splits investigation cost from implementation quality. It is not an anti-ban trick.

Attribution: Claims below are community report / author public assertions from the linked X post and its public screenshot. rea.run did not independently reproduce the author’s targets or model routing for this page. Do not invent model availability: when the author names Opus 5.5 / Fable 5.5, treat those as author-claimed strong-model tiers, not a rea.run availability matrix.

Snapshot numbers (2026-10-21 UTC+8 lab snapshot)

X counters move. Values below are a 2026-10-21 UTC+8 lab snapshot taken while drafting this page (brief pull). Re-check before you cite.

ItemValueSource
X poststatus 2112647537773391902@hanakoxbt
Created (UTC, approx.)2026-10-20T20:49Zbrief / X
Impressions≈94082026-10-21 UTC+8 lab snapshot
Likes246Same
Bookmarks276Same
Reposts25Same
Replies18Same
Quotes3Same (brief)
Client namedOpenCodepost
Investigation models (author)DeepSeek V4.1 or GLM-5.3 (cheap / free tier — author claim)post
Build model (author)Author-claimed strong tier (Opus 5.5; screenshot nav also shows Fable 5.5)post + screenshot
npm pin taught here[email protected] (npm latest snapshot 2026-10-18; check date 2026-10-21)npm / this page

Impressions and bookmarks are discovery signals only (/blog/evaluating-rea-claims/ when present). They are not an install SLA and not permission to unpack software you do not own.

Community screenshot: OpenCode + REA-oriented prompt skeleton (public attachment from the X post).
Community screenshot: OpenCode + REA-oriented prompt skeleton (public attachment from the X post).

What this case is (and is not)

ClaimOperator reading
Author used OpenCode + REA with a cheap model for investigate / Evidence, then a strong model for rebuild-from-SPECYes — stated publicly
Dual-model = investigate cost vs build qualityYes — the teaching frame on this page
Official Anthropic / OpenCode / DeepSeek product docsNo
Permission to reverse a commercial app you do not ownNo — stay inside /compliance/
Anti-ban / reject-bypass / proxy-to-fool-models tutorialNo — out of scope on rea.run
Full clone recipe for a closed-source productNo — BUILD means authorized target → Evidence → SPEC.md → your stack
Model SKUs (Opus 5.5 / Fable 5.5) verified available by rea.runNo — author-claimed tiers only

Required stage table: Investigate / Specify / Build

Keep the three stages separate. Mixing them is how “Evidence” quietly becomes “please rebuild their binary as mine.”

StageRecommended roleInputOutputDon’t do
InvestigateOpenCode + cheap / local model + REA MCPAuthorized target pathEvidence, CONFIRMED / INFERRED / UNKNOWN, REA-TASK.mdGuessing; claiming “full source” without Evidence
SpecifySame stack or a humanEvidenceSPEC.md (behavior / interfaces / constraints)Labeling a competitor binary as “my old repo”
BuildStrong coding model (author used an Opus-class tier)SPEC + your stackYour implementation / adapter layerBypassing ToS, account risk controls, or license limits

How to cite this table in a ticket

  1. Link the X post.
  2. Prefix unreproduced rows with community report.
  3. Attach doctor --json, Evidence paths, and the SPEC hash — not a viral prompt paste.
  4. If the next step would be “tell the model this binary is my old project,” stop — that is the wrong side of /faq/legal-boundary/.

OpenCode wiring checklist

Align with /docs/install/ and the OpenCode row on /docs/clients/ (clients65: setup honors OPENCODE_CONFIG_DIR since 6.4.0).

  1. Pin Node — 22.19+ / 24.11+ / 26+ on PATH with npx. Node 23 and 25 are unsupported for REA (same install docs).
  2. Setup for OpenCode — pin a known npm release. This page’s teaching pin (npm latest snapshot 6.7.0 published 2026-10-18; check date 2026-10-21):
  3. ```bash
  4. npx -y [email protected] setup --client opencode
  5. ```
  6. Honor OPENCODE_CONFIG_DIR — since rea-agents 6.4.0, setup respects a nonempty OPENCODE_CONFIG_DIR when writing the OpenCode client entry (see clients matrix note). If you use a custom config dir, set the env before setup and keep it for doctor.
  7. Doctor the client —
  8. ```bash
  9. npx -y [email protected] doctor --client opencode
  10. # optional machine-readable:
  11. npx -y [email protected] doctor --client opencode --json
  12. ```
  13. Reconnect OpenCode so the MCP tool list refreshes after setup / pin changes.
  14. BYO engines for native lanes — Ghidra+JDK, Hopper, or IDA as needed. REA does not ship decompilers.

Site teaching sometimes still mentions 6.5.0 on older client pages. Prefer an explicit pin you can defend in the ticket; this dual-model page documents the 6.7.0 snapshot above. Re-run doctor after every pin change.

Evidence discipline checklist

  1. Every claim hangs on tool output — quote or path the REA tool result; no free-floating “the app does X.”
  2. Label CONFIRMED vs INFERRED vs UNKNOWN — static strings are not runtime proof.
  3. Separate static inference from live observation — ASAR / strings / graphs vs capture / scenario tools.
  4. Native lane = BYO — Ghidra / Hopper / IDA licensed and started by you; note engine version in Evidence.
  5. Prefer retained Evidence summaries over dumping secrets into chat (/faq/token-efficient-rea/ when present).
  6. Stop before ownership fiction — if the prompt wants the strong model to treat a third-party binary as “your old project,” you have left the teaching path.

Teaching rewrite: ops checklist (prompt skeleton 0–7)

The public screenshot shows a numbered system-prompt skeleton. Below is an ops checklist rewrite for authorized work — not a paste-as-anti-BAN prompt, and not a vendor-reject bypass recipe.

StepOps nameWhat to do (authorized targets)Explicit don’t
0RESUMEIf REA-TASK.md exists, continue from it; do not restart blindDon’t invent prior conclusions
1ASKClarify the goal; write it into REA-TASK.mdDon’t skip authorization notes
2SETUPNode pin + setup --client opencode + doctor --client opencode (pin 6.7.0 on this page)Don’t float @latest in runbooks without a check date
3ROUTEPick a lane for the target (Electron / Web / native+Ghidra, …); e.g. analyze-javascript-applicationDon’t route into engines you did not BYO
4TRACEFollow user action → result with tools; keep paths absoluteDon’t fill gaps with guesses
5REPORTEmit CONFIRMED / INFERRED / UNKNOWN; require REA EvidenceDon’t claim “full source recovered” without Evidence
6BUILDWrite SPEC.md first; optional ./my-version on your stackDon’t full-clone a closed-source product; don’t spoof ownership
7REPOOptional: private repo, small commits as an ops habitDon’t publish proprietary Evidence

Community replies sometimes criticize Step-style “tell the model this is your old project” framing — on rea.run that framing is a compliance counterexample, not a procedure to follow.

Compliance

  • Authorized / own / open / clean-room targets only. /compliance/ · /faq/legal-boundary/.
  • REA ≠ clone factory ≠ account-abuse toolkit. Investigate → SPEC → build on your stack. Evading bans, rejects, or ToS is out of scope.
  • Refuse ownership-spoof prompts. Do not teach models that a competitor binary is “my repository.”
  • BUILD stays SPEC-driven. Evidence + SPEC.md + adapters you own — not a step-by-step closed-source clone.
  • Primary CTAs: /docs/install/ · /docs/clients/ (OpenCode row) · /compliance/ · /faq/legal-boundary/.

FAQ

QuestionShort answerWhere
Is dual-model an anti-ban technique?No — investigate cost vs build qualityProduct one-liner
Did rea.run reproduce the author’s pipeline?No for this page — community reportAttribution
Which rea-agents pin does this page teach?6.7.0 (npm latest snapshot 2026-10-18; check date 2026-10-21)OpenCode wiring
Does setup honor OPENCODE_CONFIG_DIR?Yes since 6.4.0 (clients matrix)/docs/clients/
Are Opus 5.5 / Fable 5.5 available per rea.run?Not asserted — author-claimed tiers onlyAttribution
Can BUILD mean full clone of a closed product?No — SPEC + your stackStage table
Where is the author’s separate Claude Code quant research team Article?Sister page — /blog/claude-code-quant-research-team/ (status 2112245381601878026)Related / Sources

Related on rea.run

TopicURL
Claude Code quant research team (sister)/blog/claude-code-quant-research-team/
Hermes Agent REA plugin/blog/hermes-agent-rea-plugin/
Claude Code client surfaces/blog/rea-claude-code-client-surfaces/
AgentEnv × REA/blog/agentenv-rea/
Install/docs/install/
Clients (OpenCode)/docs/clients/
Changelog/changelog/
Chinese twin/zh/blog/rea-opencode-dual-model/

Sources