| name | ark-ops |
| description | Operational hub for Ark ecosystem tasks. Routes to ark-developer for environment/testing/debugging, or handles simple queries directly. |
Ark Operations Skill
SKILL TYPE: Hybrid Router
This skill routes operational tasks to specialized agents while handling simple queries directly.
USE WHEN
User requests related to:
- Setting up Ark projects (arkd, fulmine, ark-simulator)
- Running tests and validations
- Troubleshooting environment issues
- Verifying service health
- Starting/stopping services
- Running simulations
ROUTING LOGIC
This skill analyzes the request and either:
- Handles directly - For simple queries, status checks, and documentation references
- Routes to ark-developer - For environment provisioning, testing, validation, code changes, or debugging
DECISION TREE
User Request
│
├─ Documentation/Info Query?
│ └─ Handle directly → Provide docs/commands
│
└─ Setup/Test/Validate/Code Issue/Bug?
└─ Route to ark-developer
DIRECT HANDLING SCENARIOS
Scenario 1: Command Reference
User asks: "How do I run arkd in light mode?"
Response:
cd ${ARKD_REPO}
make run-light
See: ${ARKADIAN_DIR}/docs/projects/arkd/testing/how_to_run.md
Scenario 2: Quick Status Check
User asks: "How do I check if arkd is running?"
Response:
curl -s http://localhost:7070/v1/info | jq .
Scenario 3: Common Command Sequences
User asks: "What's the startup sequence for Ark?"
Response: Reference the startup sequence document:
${ARKADIAN_DIR}/sessions/[latest]/artifacts/S1/startup_sequence.md
Or provide inline summary:
- Start Nigiri:
nigiri start
- Start arkd-wallet:
make run-wallet
- Start arkd:
make run-light
- Initialize wallet:
arkd wallet create --password test123
ROUTING SCENARIOS
Route to ark-developer
When user requests involve:
- Setting up test environments
- Running test suites (unit, integration, E2E)
- Validating configurations
- Environment health checks
- Performance testing
- Simulation runs
- Code issues or bugs
- Implementation changes
- Debugging failures
- Fixing tests
- Adding features
Example requests:
- "The arkd service is crashing, can you debug?"
- "Fix the failing integration test"
- "Add logging to this function"
How to route:
The user is requesting [code debugging/changes].
I will route this to ark-developer.
Invoking ark-developer with task specification...
QUICK REFERENCE COMMANDS
Nigiri (Bitcoin Regtest)
nigiri start
nigiri status
nigiri rpc generatetoaddress 600 bcrt1q6vdad6ngd9ep8edjgmemv697xed7j4233kswuf
nigiri faucet <address> 1.0
nigiri stop
arkd Operations
cd ${ARKD_REPO}
make run-wallet
cd ${ARKD_REPO}
make run-light
cd ${ARKD_REPO}
make run
cd ${ARKD_REPO}
make test
cd ${ARKD_REPO}
make integrationtest
cd ${ARKD_REPO}
make run-simulation CLIENTS=10
curl http://localhost:7070/v1/info
curl http://localhost:6060/v1/wallet/status
Fulmine Operations
cd ${FULMINE_REPO}
make build-test-env
cd ${FULMINE_REPO}
docker compose -f test.docker-compose.yml up -d
cd ${FULMINE_REPO}
make setup-test-env
cd ${FULMINE_REPO}
make test
cd ${FULMINE_REPO}
make integrationtest
cd ${FULMINE_REPO}
make down-test-env
curl http://localhost:7001/api/v1/wallet/status
Ark Simulator Operations
cd ${ARK_SIMULATOR_REPO}
make build
cd ${ARK_SIMULATOR_REPO}
make run ARGS="--sim config/simulation_1_20.yaml"
cd ${ARK_SIMULATOR_REPO}
make run ARGS="--sim config/simulation1.yaml"
cd ${ARK_SIMULATOR_REPO}
make run ARGS="--sim config/simulation_1_128.yaml"
Fulmine Simulator Operations
cd ${FULMINE_SIMULATOR_REPO}
make build
cd ${FULMINE_SIMULATOR_REPO}
make run ARGS="--sim ./configs/fulmine-endpoints-test.yaml"
./orchestrator/bin/orchestrator --sim ./configs/your-config.yaml
make clean
Arkade Explorer Operations
cd /Users/dusansekulic/code/fe/arkade-explorer
npm install
npm run dev
npm run build
npm run preview
npm run lint
Ark Telemetry Operations
cd ${ARK_TELEMETRY_REPO}
export SLACK_API_URL='https://hooks.slack.com/services/YOUR/WEBHOOK'
export SLACK_CHANNEL='#ark-alerts'
make docker-run
make docker-run-dev
make docker-stop
make docker-restart
curl http://localhost:9090/-/healthy
curl http://localhost:3333/api/health
curl http://localhost:3100/ready
Health Checks
curl -s http://localhost:3000/api/blocks/tip/height
curl -s http://localhost:32838/v1/cryptos/BTC/status | jq '.isFullySynced'
curl -s http://localhost:6060/v1/wallet/status | jq '.synced'
curl -s http://localhost:7070/v1/info | jq '.pubkey'
curl -s http://localhost:7001/api/v1/wallet/status | jq '.initialized'
curl -s http://localhost:9001/v1/info
curl -s http://localhost:9090/-/healthy
curl -s http://localhost:3333/api/health
DOCUMENTATION REFERENCES
By Project
arkd:
- Setup:
${ARKADIAN_DIR}/docs/projects/arkd/testing/how_to_run.md
- Testing:
${ARKADIAN_DIR}/docs/projects/arkd/testing/how_to_test.md
- Usage:
${ARKADIAN_DIR}/docs/projects/arkd/testing/usage.md
- Troubleshooting:
${ARKADIAN_DIR}/docs/projects/arkd/testing/troubleshooting.md
fulmine:
- Setup:
${ARKADIAN_DIR}/docs/projects/fulmine/testing/how_to_run.md
- Testing:
${ARKADIAN_DIR}/docs/projects/fulmine/testing/how_to_test.md
- Usage:
${ARKADIAN_DIR}/docs/projects/fulmine/testing/usage.md
- Troubleshooting:
${ARKADIAN_DIR}/docs/projects/fulmine/testing/troubleshooting.md
ark-simulator:
- Setup:
${ARKADIAN_DIR}/docs/projects/ark-simulator/testing/how_to_run.md
- Testing:
${ARKADIAN_DIR}/docs/projects/ark-simulator/testing/how_to_test.md
- Usage:
${ARKADIAN_DIR}/docs/projects/ark-simulator/testing/usage.md
- Troubleshooting:
${ARKADIAN_DIR}/docs/projects/ark-simulator/testing/troubleshooting.md
fulmine-simulator:
- Setup:
${ARKADIAN_DIR}/docs/projects/fulmine-simulator/testing/how_to_run.md
- Testing:
${ARKADIAN_DIR}/docs/projects/fulmine-simulator/testing/how_to_test.md
- Usage:
${ARKADIAN_DIR}/docs/projects/fulmine-simulator/testing/usage.md
- Troubleshooting:
${ARKADIAN_DIR}/docs/projects/fulmine-simulator/testing/troubleshooting.md
arkade-explorer:
- Setup:
${ARKADIAN_DIR}/docs/projects/arkade-explorer/testing/how_to_run.md
- Testing:
${ARKADIAN_DIR}/docs/projects/arkade-explorer/testing/how_to_test.md
- Usage:
${ARKADIAN_DIR}/docs/projects/arkade-explorer/testing/usage.md
- Troubleshooting:
${ARKADIAN_DIR}/docs/projects/arkade-explorer/testing/troubleshooting.md
ark-telemetry:
- Setup:
${ARKADIAN_DIR}/docs/projects/ark-telemetry/testing/how_to_run.md
- Usage:
${ARKADIAN_DIR}/docs/projects/ark-telemetry/testing/usage.md
- Troubleshooting:
${ARKADIAN_DIR}/docs/projects/ark-telemetry/testing/troubleshooting.md
Startup Sequence
Complete dependency-ordered startup guide:
${ARKADIAN_DIR}/sessions/[latest]/artifacts/S1/startup_sequence.md
COMMON WORKFLOWS
Workflow 1: Setup Minimal Ark Stack
nigiri start
nigiri rpc generatetoaddress 600 bcrt1q6vdad6ngd9ep8edjgmemv697xed7j4233kswuf
cd ${ARKD_REPO}
make run-wallet
cd ${ARKD_REPO}
make run-light
arkd wallet create --password test123
arkd wallet unlock --password test123
ARKD_ADDRESS=$(arkd wallet address)
nigiri faucet $ARKD_ADDRESS 1.0
nigiri rpc generatetoaddress 6 bcrt1q6vdad6ngd9ep8edjgmemv697xed7j4233kswuf
Workflow 2: Run arkd Tests
nigiri status || nigiri start
cd ${ARKD_REPO}
make test
make docker-run
sleep 30
make integrationtest
make docker-stop
Workflow 3: Run Fulmine Tests
cd ${FULMINE_REPO}
make build-test-env
docker compose -f test.docker-compose.yml up -d
sleep 30
make setup-test-env
make integrationtest
make down-test-env
Workflow 4: Run Ark Simulator
curl http://localhost:7070/v1/info || echo "Start arkd first"
cd ${ARK_SIMULATOR_REPO}
make build
make run ARGS="--sim config/simulation_1_20.yaml"
TROUBLESHOOTING QUICK REFERENCE
Issue: Nigiri not starting
docker ps
nigiri stop --delete
nigiri start
Issue: NBXplorer not syncing
docker logs nbxplorer
curl http://localhost:18443
Issue: arkd cannot connect to arkd-wallet
curl http://localhost:6060/v1/wallet/status
echo $ARKD_WALLET_ADDR
Issue: Port conflicts
lsof -i :7070
kill -9 <PID>
Issue: Tests failing
For complex test failures, route to ark-developer for comprehensive analysis (uses dev-loop skills for fast iteration).
EXAMPLE INTERACTIONS
Example 1: Simple Command Request
User: "How do I start arkd in light mode?"
ark-ops (direct response):
To start arkd in light mode:
cd ${ARKD_REPO}
make run-light
This uses SQLite database and in-memory cache for fast development.
See: ${ARKADIAN_DIR}/docs/projects/arkd/testing/how_to_run.md
Example 2: Testing Request (Route to ark-developer)
User: "Set up and run tests for arkd"
ark-ops (router):
This requires environment provisioning and test execution.
Routing to ark-developer (uses arkd-dev-loop skill for fast iteration)...
[Creates execution specification for ark-developer]
Example 3: Debugging Request (Route to ark-developer)
User: "arkd is crashing with segfault, can you debug?"
ark-ops (router):
This is a code debugging issue.
Routing to ark-developer...
[Creates task for ark-developer]
Example 4: Status Check
User: "Is my Ark stack healthy?"
ark-ops (direct response):
Run these health checks:
# Bitcoin/Esplora
curl -s http://localhost:3000/api/blocks/tip/height
# NBXplorer
curl -s http://localhost:32838/v1/cryptos/BTC/status | jq '.isFullySynced'
# arkd-wallet
curl -s http://localhost:6060/v1/wallet/status | jq '.synced'
# arkd
curl -s http://localhost:7070/v1/info | jq '.pubkey'
All services should respond with valid data.
SKILL BEHAVIOR
When invoked:
-
Analyze request type:
- Simple query/command → Handle directly
- Complex setup/testing → Route to ark-developer
- Debugging/code issue → Route to ark-developer
-
Provide immediate value:
- Always give quick commands if available
- Reference documentation paths
- Summarize workflows
-
Route efficiently:
- Create proper execution specifications
- Include relevant context
- Set clear success criteria
-
Follow up:
- After routing, wait for agent response
- Summarize results for user
- Suggest next steps
PORT REFERENCE TABLE
| Service | Port | Check Command |
|---|
| Bitcoin RPC | 18443 | curl http://localhost:18443 |
| Esplora | 3000 | curl http://localhost:3000/api/blocks/tip/height |
| NBXplorer | 32838 | curl http://localhost:32838/v1/cryptos/BTC/status |
| arkd-wallet | 6060 | curl http://localhost:6060/v1/wallet/status |
| arkd | 7070 | curl http://localhost:7070/v1/info |
| Fulmine gRPC | 7000 | N/A (gRPC only) |
| Fulmine HTTP | 7001 | curl http://localhost:7001/api/v1/wallet/status |
| Boltz | 9001 | curl http://localhost:9001/v1/info |
| Prometheus | 9090 | curl http://localhost:9090/-/healthy |
| Grafana | 3001 | curl http://localhost:3001/api/health |
Summary: This skill is your operational hub for Ark ecosystem tasks. Use it for quick commands, documentation, and intelligent routing to specialized agents.