Docs
Checking Raims account
All agents
Command Code

Command Code + Raims

A terminal agent for planning a Raims integration from your application code.

Terminal

Already using this agent? Go to project context and keep your existing setup.

Quick start

  1. Prepare the agent

    Check the requirements and install the agent using the official quickstart. The npm installation uses:

    Shell
    npm i -g command-code@latest
  2. Open your project

    In your application folder, run the command below and complete the agent's sign-in. On native Windows, the short alias is cmdc.

    cmdc
  3. Add the documentation

    Ask the agent to read Raims' documentation index and open the relevant guides. llms-full.txt provides the consolidated content. Start with authentication and charges.

  4. Try a prompt

    Read https://docs.raims.com/llms.txt and the authentication and charges guides.
    Inspect this application's backend and propose a plan to retrieve an existing
    Sandbox charge with GET /v1/charges/{id}. Prepare an example using protected
    server configuration for the key. Do not send requests or use real credentials.
    Show the sources and the files you would change before editing.

Project context

Add the content below to AGENTS.md at the application root. Command Code uses this file as project memory. The /memory command lets you open the file for editing within the session.

The instruction file belongs with your project. This tree shows its location:

AGENTS.md
Markdown
# Raims integration

- Read https://docs.raims.com/llms.txt before choosing endpoints and fields.
- Use https://docs.raims.com/llms-full.txt for the consolidated documentation.
- API base URL: https://api.raims.com.
- In Raims product installation examples, select the latest stable version
  through the package manager (`latest` where supported).
- Prepare examples for Sandbox, with Bearer authentication in the backend.
- Keep the key in protected server configuration. Never put secrets in code,
  prompts, logs, or browser applications.
- Explain the plan and request authorization before sending API requests.

Verify the setup

Ask the agent to identify the guides it read, the API base URL, and the place in your backend where the key will be loaded. It should prepare the plan and example without asking you to paste a real credential.

Reading the documentation does not authenticate the application. Requests use a Raims API key for the intended company and environment.

Recognize a completed setup

Expected result of the prompt

A reviewable plan to retrieve an existing Sandbox charge, with public sources and proposed backend files. The prompt asks for planning only, with no API request and no real credential in the chat.

CheckWhat the plan should show
Project instructionsThe agent considered AGENTS.md and kept the application's existing conventions.
SourcesAuthentication and charges guides, with the links it actually read.
Environment and endpointSandbox and GET /v1/charges/{id}, using an ID from your integration.
SecretA protected backend configuration point, without a key in code or prompts.
Proposed workThe files to change and the result to inspect before a test is authorized.

If an item is missing, ask the agent to complete the plan before editing or authorizing a request. If it could not read a source, provide the relevant public excerpt and keep the missing information explicit.

Common issues

Official sources