Replace raw curl/node commands with CLI equivalents#2
Open
Conversation
Replaces all raw `curl` and `node -e` one-liners with `npx rightbrain@latest` CLI commands. This makes the agent's actions much cleaner in the Cursor UI. Key changes: - Remove ACCESS_TOKEN from context tracking (CLI handles auth internally) - Simplify Phase 0 from 7 steps to 4 (whoami, login, switch-project, list-models) - Replace curl commands with CLI: list-orgs, list-projects, list-tasks, get-task, update-task, export-task, create-task, run-task, list-models - Remove all node -e credential parsing commands - Keep API Reference section as documentation reference Depends on: RightbrainAI/brain#1576 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Export task is not an official method of sharing tasks, so remove the export section and references from the task action menu. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
curlandnode -eone-liners in SKILL.md withnpx rightbrain@latestCLI commandsACCESS_TOKENfrom context tracking (CLI handles auth internally)Depends on
Test plan
curlcommands remain in SKILL.md (outside API Reference docs section)node -ecommands remain in SKILL.mdnpx rightbrain@latestcommands exist in the CLI🤖 Generated with Claude Code