Skip to content

docs: add agent integration roadmap to README#344

Open
aidenybai wants to merge 1 commit into
mainfrom
devin/1778728637-agent-integration-plan
Open

docs: add agent integration roadmap to README#344
aidenybai wants to merge 1 commit into
mainfrom
devin/1778728637-agent-integration-plan

Conversation

@aidenybai
Copy link
Copy Markdown
Owner

@aidenybai aidenybai commented May 14, 2026

Summary

Adds an "Agent Integration" section to the README documenting the planned layered architecture for connecting React Grab to coding agents.

The four layers:

  • Layer 0 — Paste: Zero setup. Grab → paste into any agent chat.
  • Layer 1 — Context File: grab watch maintains .react-grab/context.md — agents that auto-index project files discover it automatically.
  • Layer 2 — CLI Primitives: grab latest, grab context, grab log, grab history — composable commands for skills and scripts.
  • Layer 3 — Hooks: Git-hook-style .react-grab/hooks/on-grab executables, completely agent-agnostic.

Also documents per-agent setup via grab add <agent>.

This is a docs-only change describing the planned direction. No code changes.

Review & Testing Checklist for Human

  • Read through the Agent Integration section — does the layered framing make sense for how you want to position this?
  • Check that the CLI command names (grab watch, grab latest, grab context, grab history) feel right before they get implemented
  • Verify the per-agent setup section (grab add cursor, grab add claude) matches the direction you want for Phase 3

Notes

See the full implementation plan (brainstorm + phases) shared earlier in the session. This README change is the user-facing version of that plan. The implementation phases (filesystem persistence → hooks → agent adapters → simplified skill → kill MCP) are designed to ship independently.

Link to Devin session: https://app.devin.ai/sessions/272b3ae291454c63ad621b1acb6db231
Requested by: @aidenybai


Note

Low Risk
Low risk docs-only change; no runtime behavior or APIs are modified, but it does introduce CLI and filesystem concepts that should match the intended product direction.

Overview
Adds a new "Agent Integration" section to README.md that outlines a four-layer roadmap for using React Grab with coding agents: direct paste, a watched .react-grab/context.md file (plus grab journal), CLI primitives (grab latest/context/log/history), and hook-style executables under .react-grab/hooks/on-grab.

Also documents per-agent installation flow via grab add (including cursor and claude) to set expectations for future integrations.

Reviewed by Cursor Bugbot for commit 7e33164. Bugbot is set up for automated code reviews on this repo. Configure here.


Summary by cubic

Add an Agent Integration section to the README that outlines a layered plan for connecting react-grab to coding agents. It documents Layers 0–3 (Paste; Context File via grab watch and .react-grab/context.md; CLI commands grab latest, grab context, grab log, grab history; and hooks with .react-grab/hooks/on-grab) and per‑agent setup with grab add <agent>; docs-only.

Written for commit 7e33164. Summary will update on new commits.

Co-Authored-By: Aiden Bai <aiden.bai05@gmail.com>
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-grab-storybook Ready Ready Preview, Comment May 14, 2026 3:18am
react-grab-website Ready Ready Preview, Comment May 14, 2026 3:18am

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 14, 2026

Open in StackBlitz

npm i https://pkg.pr.new/aidenybai/react-grab/@react-grab/cli@344
npm i https://pkg.pr.new/aidenybai/react-grab/grab@344
npm i https://pkg.pr.new/aidenybai/react-grab/@react-grab/mcp@344
npm i https://pkg.pr.new/aidenybai/react-grab@344

commit: 7e33164

Comment thread README.md
grab latest # latest grab as JSON (reads .react-grab/ or falls back to clipboard)
grab context # latest grab as formatted markdown
grab log # stream grabs as NDJSON (runs until killed)
grab history # list past grabs from .react-grab/grabs/
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

README documents CLI commands (grab watch, grab latest, grab context, grab log, grab history) that are not implemented in the codebase

Fix on Vercel

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 1 file

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="README.md">

<violation number="1" location="README.md:239">
P2: Don't present the Cursor/Claude adapter examples as current commands yet; the CLI is still MCP-only, so these examples will fail if users copy them.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Comment thread README.md
`grab add` detects your agent and installs the right integration format:

```bash
grab add # interactive: pick agents
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: Don't present the Cursor/Claude adapter examples as current commands yet; the CLI is still MCP-only, so these examples will fail if users copy them.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At README.md, line 239:

<comment>Don't present the Cursor/Claude adapter examples as current commands yet; the CLI is still MCP-only, so these examples will fail if users copy them.</comment>

<file context>
@@ -190,6 +190,57 @@ actions: [
+`grab add` detects your agent and installs the right integration format:
+
+```bash
+grab add                 # interactive: pick agents
+grab add cursor          # Cursor-specific integration
+grab add claude          # Claude Code-specific integration
</file context>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant