Skip to content

Comments

Replace raw curl/node commands with CLI equivalents#2

Open
pete001 wants to merge 2 commits intomainfrom
feat/cli-commands-in-skill
Open

Replace raw curl/node commands with CLI equivalents#2
pete001 wants to merge 2 commits intomainfrom
feat/cli-commands-in-skill

Conversation

@pete001
Copy link
Contributor

@pete001 pete001 commented Feb 18, 2026

Summary

  • Replaces all raw curl and node -e one-liners in SKILL.md with npx rightbrain@latest CLI commands
  • Removes ACCESS_TOKEN from context tracking (CLI handles auth internally)
  • Simplifies Phase 0 authentication from 7 steps to 4
  • All commands now look clean in the Cursor agent UI

Depends on

Test plan

  • No curl commands remain in SKILL.md (outside API Reference docs section)
  • No node -e commands remain in SKILL.md
  • All referenced npx rightbrain@latest commands exist in the CLI
  • Skill flows (auth, browse, run, update, export, import, create) work end-to-end

🤖 Generated with Claude Code

pete001 and others added 2 commits February 18, 2026 14:26
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>
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