// research before code

Your AI agent ignored the SWRZustanddayjsdecimal.jsZoddate-fnsSWR you already installed.

SAGE makes coding agents research before they write. The agent reads what is already in your project, reuses it, checks the docs, and only then searches for something new. One install, any stack.

$git clone --depth 1 https://github.com/eurechasherij/sage.git ~/.claude/skills/sage && cd ~/.claude/skills/sage && ./setupcopy
see how /work runs ›
Real failures SAGE catches

The agent had the answer. It just didn't look.

Two things that actually happened. Both were already solved in the project. The agent reinvented them anyway, and you found out an hour later.

React data fetching

SWR was already a dependency.
WHAT THE AGENT SHIPPED // hand-rolled polling useEffect(() => { const id = setInterval(() => { fetch(url).then(setData) }, 5000) return () => clearInterval(id) }, [url])
WHAT SAGE SURFACES FIRST // swr is installed — use it const { data } = useSWR(url, { refreshInterval: 5000 })

Laravel Pennant flags

Pennant ships the exact API.
WHAT THE AGENT SHIPPED // custom beta-user workaround if ($user->is_beta && Cache::get("ff_$flag")) { // ...re-implements Pennant }
WHAT SAGE SURFACES FIRST // documented intercept API Feature::resolveValue(fn ($f) => $f->active && $user->beta );
How it works

One command. Research is not optional.

/work PROJ-412 — add polling to the dashboard
01
Read the project
The agent reads your manifest — npm, composer, pip, go, cargo, gem — and sees what is already installed.
02
Check the docs
Reads the docs for what you have, finds the documented API before reinventing it.
03
You or AI decide
Reuse, add, or avoid a package. Defaults to asking you; safety floor on auto-add.
04
Then implement
Code starts only after a written research decision exists.
What it is

One hosted engine. No per-framework setup.

Single install
One MCP endpoint at sage.rematcha.dev. Not a server per project, not an MCP per framework.
Any stack
npm, bun, Composer, pip, Go, Cargo, RubyGems — the agent reads the manifest, so no per-ecosystem setup. Private package names never leave the machine.
Current, not stale
Live advisories from OSV and health from the public registries, so suggestions are safe to trust.
Stop paying for the refactor later

Make your agent look first.

Add SAGE in one line. The next /work researches before it writes.

$git clone --depth 1 https://github.com/eurechasherij/sage.git ~/.claude/skills/sage && cd ~/.claude/skills/sage && ./setupcopy