Agent skill
librc
librc - Service lifecycle manager using svscan supervision. ServiceManager communicates with supervision daemon via Unix sockets. startServices and stopServices control multiple services. Use for starting/stopping platform services, process supervision, and service orchestration.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/librc
SKILL.md
librc Skill
When to Use
- Starting and stopping Copilot-LD services
- Managing service lifecycle programmatically
- Communicating with the supervision daemon
- Orchestrating service startup order
Key Concepts
ServiceManager: Connects to svscan daemon via Unix socket to control service processes.
Supervision: Services run under svscan for automatic restart and logging.
Usage Patterns
Pattern 1: Manage single service
import { ServiceManager } from "@copilot-ld/librc";
const manager = new ServiceManager("/var/run/svscan.sock");
await manager.start("agent");
await manager.status("agent"); // Returns running/stopped
await manager.stop("agent");
Pattern 2: Manage multiple services
import { startServices, stopServices } from "@copilot-ld/librc";
await startServices(["agent", "llm", "memory"]);
await stopServices(["agent", "llm", "memory"]);
Integration
Used by make rc-start and make rc-stop. Works with libsupervision daemon.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?