JSPM

@stainlu/rlp-cli

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q34263F
  • License MIT

CLI tool to sync local skills to your RLP Agent Card

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@stainlu/rlp-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    RLP CLI

    Sync your local skills to your RLP Agent Card.

    Installation

    npm install -g rlp-cli
    # or use npx directly
    npx rlp-cli <command>

    Quick Start

    1. Get your account key from RLP Dashboard

    2. Login with your key:

      rlp login --key <your_account_key>
    3. Sync your skills:

      rlp sync-skills
    4. View your agent card:

      https://agent-<your_account_id>.newtype-ai.org/.well-known/agent-card.json

    Commands

    rlp login --key <account_key>

    Store your RLP account key locally.

    rlp login --key abc123def456...

    Options:

    • -k, --key <account_key> - Your RLP account key (required)
    • --api-url <url> - Custom API URL (default: https://api.newtype-ai.org)

    rlp logout

    Remove stored account key.

    rlp logout

    rlp sync-skills

    Sync local skills to your RLP Agent Card.

    rlp sync-skills

    Options:

    • -n, --dry-run - Preview changes without syncing
    • -p, --path <directory> - Custom skills directory path
    • --no-delete - Don't delete remote skills that are not in local

    rlp status

    Show current account and skills sync status.

    rlp status

    Skills Discovery

    The CLI automatically discovers skills from these locations:

    1. ~/.claude/skills/*/SKILL.md (Claude Code personal)
    2. .claude/skills/*/SKILL.md (Claude Code project)
    3. ~/.codex/skills/*/SKILL.md (Codex personal)
    4. .codex/skills/*/SKILL.md (Codex project)

    SKILL.md Format

    Each skill should have a SKILL.md file with YAML frontmatter:

    ---
    name: my-skill
    description: What this skill does
    tags:
      - category
      - type
    ---
    
    # My Skill
    
    Detailed instructions for the skill...
    
    ## Example
    
    ```bash
    example command
    
    ## Config File
    
    The CLI stores configuration in `~/.rlp/config.json`:
    
    ```json
    {
      "account_key": "your_account_key",
      "account_id": "your_account_uuid",
      "api_url": "https://api.newtype-ai.org"
    }

    License

    MIT


    Optional: rlp-sync Skill for AI Agents

    This section is completely optional. You can always run npx rlp-cli sync-skills directly without any additional setup.

    If you want your AI agent (Claude Code, Codex, etc.) to automatically know how to sync skills when you say "sync my skills to RLP", you can install a helper skill:

    1. Create ~/.claude/skills/rlp-sync/SKILL.md:
    ---
    name: rlp-sync
    description: Sync local skills to your RLP Agent Card
    ---
    
    # Sync Skills to RLP
    
    Run the RLP CLI to sync your local skills:
    
    \`\`\`bash
    npx rlp-cli sync-skills
    \`\`\`
    
    If not logged in yet, ask the user for their account key and run:
    \`\`\`bash
    npx rlp-cli login --key <ACCOUNT_KEY>
    \`\`\`
    
    Get your account key from: https://rlp.newtype-ai.org/partner/dashboard?tab=agent
    1. Tell your agent: "sync my skills to RLP"

    This is purely for convenience - the CLI works exactly the same whether or not you have this skill installed.