mirra-claudeCode

Manage Claude Code sessions via a REST API.

6|Updated Nov 5, 2025
One-click install
npx skills add https://github.com/Oz-Networks/mirra-sdk --skill mirra-claudecode
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mirra-claudeCode
Source: https://github.com/Oz-Networks/mirra-sdk/tree/main/skills/mirra-claudeCode
Command: npx skills add https://github.com/Oz-Networks/mirra-sdk --skill mirra-claudecode

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill allows you to programmatically manage Claude Code sessions running on your desktop, automating tasks like starting new coding sessions, resuming existing ones, and listing active sessions.

Core Features & Use Cases

  • Session Management: Start, resume, list, and kill Claude Code sessions.
  • Automated Workflows: Integrate Claude Code into automated agent workflows for code generation, analysis, and more.
  • Use Case: Automatically start a new Claude Code session to refactor a specific module in your project, providing the initial prompt and desired working directory.

Quick Start

Start a new Claude Code session to list all TypeScript files and explain the project structure in the /Users/user/projects/my-app directory.

Frequently Asked Questions about mirra-claudeCode

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage Claude Code sessions programmatically?

Claude Code sessions are managed programmatically via a REST API that starts new sessions with prompts and working directories, resumes existing ones, lists active instances, and terminates them remotely.

Can I automate starting a Claude Code session with a specific working directory?

Yes, you can automate starting a Claude Code session by passing an initial prompt and a desired working directory through the API, enabling automated code generation and analysis workflows.

What do I need to operate Claude Code sessions remotely via API?

To operate Claude Code sessions remotely, you need a valid Mirra API key and the Mirra API URL for authentication and operation, allowing your automated agents to interact with the sessions.

How do I list and resume active Claude Code sessions?

You can list and resume active Claude Code sessions by sending requests to the REST API, which returns all currently running instances and allows you to reconnect to an existing session.

Is there a way to terminate Claude Code sessions automatically?

Yes, the REST API supports terminating Claude Code sessions automatically, allowing automated workflows to clean up active instances after code generation or analysis tasks are complete.