ark-ops
Operational hub for Ark ecosystem tasks. Routes to ark-developer for environment/testing/debugging, or handles simple queries directly.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Operational hub for Ark ecosystem tasks. Routes to ark-developer for environment/testing/debugging, or handles simple queries directly.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Analyze a project repository and add it to the Arkadian documentation registry with standardized structure. Use when: user provides a path to a new project to onboard.
Analyse an Arkadian orchestrator session - read transcripts, logs, and artifacts to understand what happened and suggest improvements. Use when: user wants to debug or review a past session.
Generate validated operational SOPs for Ark ecosystem projects by testing commands before documenting them. Use when: user wants to create or audit SOPs for a project.
Remove a project from the Arkadian documentation registry and delete all associated documentation files. Use when: user wants to deregister a project.
Update project documentation based on new commits and changes in the repository. Use when: user wants to sync docs after project changes.
Self-improvement loop for arkadian. Launches arkadian -d with a GitHub issue, polls until done, evaluates per-agent criteria, reads transcripts on failure, improves prompts, deletes worktree, and relaunches. Loops until passing or max iterations.
| name | ark-ops |
| description | Operational hub for Ark ecosystem tasks. Routes to ark-developer for environment/testing/debugging, or handles simple queries directly. |
This skill routes operational tasks to specialized agents while handling simple queries directly.
User requests related to:
This skill analyzes the request and either:
User Request
│
├─ Documentation/Info Query?
│ └─ Handle directly → Provide docs/commands
│
└─ Setup/Test/Validate/Code Issue/Bug?
└─ Route to ark-developer
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
User asks: "How do I check if arkd is running?"
Response:
curl -s http://localhost:7070/v1/info | jq .
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:
nigiri startmake run-walletmake run-lightarkd wallet create --password test123When user requests involve:
Example requests:
How to route:
The user is requesting [code debugging/changes].
I will route this to ark-developer.
Invoking ark-developer with task specification...
# Start Nigiri
nigiri start
# Check status
nigiri status
# Mine blocks
nigiri rpc generatetoaddress 600 bcrt1q6vdad6ngd9ep8edjgmemv697xed7j4233kswuf
# Fund address
nigiri faucet <address> 1.0
# Stop Nigiri
nigiri stop
# Start arkd-wallet
cd ${ARKD_REPO}
make run-wallet
# Start arkd (light mode)
cd ${ARKD_REPO}
make run-light
# Start arkd (full mode)
cd ${ARKD_REPO}
make run
# Run unit tests
cd ${ARKD_REPO}
make test
# Run integration tests
cd ${ARKD_REPO}
make integrationtest
# Run simulation
cd ${ARKD_REPO}
make run-simulation CLIENTS=10
# Check arkd health
curl http://localhost:7070/v1/info
# Check arkd-wallet health
curl http://localhost:6060/v1/wallet/status
# Build test environment
cd ${FULMINE_REPO}
make build-test-env
# Start test environment
cd ${FULMINE_REPO}
docker compose -f test.docker-compose.yml up -d
# Setup test environment
cd ${FULMINE_REPO}
make setup-test-env
# Run unit tests
cd ${FULMINE_REPO}
make test
# Run integration tests
cd ${FULMINE_REPO}
make integrationtest
# Stop test environment
cd ${FULMINE_REPO}
make down-test-env
# Check Fulmine health
curl http://localhost:7001/api/v1/wallet/status
# Build simulator
cd ${ARK_SIMULATOR_REPO}
make build
# Run smoke test (20 clients)
cd ${ARK_SIMULATOR_REPO}
make run ARGS="--sim config/simulation_1_20.yaml"
# Run standard test (70 clients)
cd ${ARK_SIMULATOR_REPO}
make run ARGS="--sim config/simulation1.yaml"
# Run large scale (128 clients)
cd ${ARK_SIMULATOR_REPO}
make run ARGS="--sim config/simulation_1_128.yaml"
# Build orchestrator
cd ${FULMINE_SIMULATOR_REPO}
make build
# Run with config
cd ${FULMINE_SIMULATOR_REPO}
make run ARGS="--sim ./configs/fulmine-endpoints-test.yaml"
# Run directly
./orchestrator/bin/orchestrator --sim ./configs/your-config.yaml
# Clean
make clean
# Install dependencies
cd /Users/dusansekulic/code/fe/arkade-explorer
npm install
# Start dev server (http://localhost:5173)
npm run dev
# Build production
npm run build
# Preview production build
npm run preview
# Lint code
npm run lint
# Production mode
cd ${ARK_TELEMETRY_REPO}
export SLACK_API_URL='https://hooks.slack.com/services/YOUR/WEBHOOK'
export SLACK_CHANNEL='#ark-alerts'
make docker-run
# Development mode (connects to Nigiri network)
make docker-run-dev
# Stop (WARNING: deletes volumes)
make docker-stop
# Restart (preserves data)
make docker-restart
# Verify services
curl http://localhost:9090/-/healthy # Prometheus
curl http://localhost:3333/api/health # Grafana
curl http://localhost:3100/ready # Loki
# Bitcoin/Nigiri
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'
# Fulmine
curl -s http://localhost:7001/api/v1/wallet/status | jq '.initialized'
# Boltz
curl -s http://localhost:9001/v1/info
# Prometheus
curl -s http://localhost:9090/-/healthy
# Grafana
curl -s http://localhost:3333/api/health
arkd:
${ARKADIAN_DIR}/docs/projects/arkd/testing/how_to_run.md${ARKADIAN_DIR}/docs/projects/arkd/testing/how_to_test.md${ARKADIAN_DIR}/docs/projects/arkd/testing/usage.md${ARKADIAN_DIR}/docs/projects/arkd/testing/troubleshooting.mdfulmine:
${ARKADIAN_DIR}/docs/projects/fulmine/testing/how_to_run.md${ARKADIAN_DIR}/docs/projects/fulmine/testing/how_to_test.md${ARKADIAN_DIR}/docs/projects/fulmine/testing/usage.md${ARKADIAN_DIR}/docs/projects/fulmine/testing/troubleshooting.mdark-simulator:
${ARKADIAN_DIR}/docs/projects/ark-simulator/testing/how_to_run.md${ARKADIAN_DIR}/docs/projects/ark-simulator/testing/how_to_test.md${ARKADIAN_DIR}/docs/projects/ark-simulator/testing/usage.md${ARKADIAN_DIR}/docs/projects/ark-simulator/testing/troubleshooting.mdfulmine-simulator:
${ARKADIAN_DIR}/docs/projects/fulmine-simulator/testing/how_to_run.md${ARKADIAN_DIR}/docs/projects/fulmine-simulator/testing/how_to_test.md${ARKADIAN_DIR}/docs/projects/fulmine-simulator/testing/usage.md${ARKADIAN_DIR}/docs/projects/fulmine-simulator/testing/troubleshooting.mdarkade-explorer:
${ARKADIAN_DIR}/docs/projects/arkade-explorer/testing/how_to_run.md${ARKADIAN_DIR}/docs/projects/arkade-explorer/testing/how_to_test.md${ARKADIAN_DIR}/docs/projects/arkade-explorer/testing/usage.md${ARKADIAN_DIR}/docs/projects/arkade-explorer/testing/troubleshooting.mdark-telemetry:
${ARKADIAN_DIR}/docs/projects/ark-telemetry/testing/how_to_run.md${ARKADIAN_DIR}/docs/projects/ark-telemetry/testing/usage.md${ARKADIAN_DIR}/docs/projects/ark-telemetry/testing/troubleshooting.mdComplete dependency-ordered startup guide:
${ARKADIAN_DIR}/sessions/[latest]/artifacts/S1/startup_sequence.md
# 1. Start Bitcoin regtest
nigiri start
nigiri rpc generatetoaddress 600 bcrt1q6vdad6ngd9ep8edjgmemv697xed7j4233kswuf
# 2. Start arkd-wallet
cd ${ARKD_REPO}
make run-wallet
# Wait 15 seconds
# 3. Start arkd
cd ${ARKD_REPO}
make run-light
# Wait 10 seconds
# 4. Initialize wallet
arkd wallet create --password test123
arkd wallet unlock --password test123
# 5. Fund wallet
ARKD_ADDRESS=$(arkd wallet address)
nigiri faucet $ARKD_ADDRESS 1.0
nigiri rpc generatetoaddress 6 bcrt1q6vdad6ngd9ep8edjgmemv697xed7j4233kswuf
# 1. Ensure Nigiri is running
nigiri status || nigiri start
# 2. Run unit tests
cd ${ARKD_REPO}
make test
# 3. Start Docker test environment
make docker-run
sleep 30
# 4. Run integration tests
make integrationtest
# 5. Cleanup
make docker-stop
# 1. Build and start test environment
cd ${FULMINE_REPO}
make build-test-env
docker compose -f test.docker-compose.yml up -d
sleep 30
# 2. Setup environment
make setup-test-env
# 3. Run tests
make integrationtest
# 4. Cleanup
make down-test-env
# 1. Ensure Ark stack is running
curl http://localhost:7070/v1/info || echo "Start arkd first"
# 2. Build simulator
cd ${ARK_SIMULATOR_REPO}
make build
# 3. Run simulation
make run ARGS="--sim config/simulation_1_20.yaml"
# 4. Verify results
# Check console output for completion
# Check Docker
docker ps
# Reset Nigiri
nigiri stop --delete
nigiri start
# Check logs
docker logs nbxplorer
# Wait longer (can take 60+ seconds)
# Verify Bitcoin RPC
curl http://localhost:18443
# Verify arkd-wallet is running
curl http://localhost:6060/v1/wallet/status
# Check environment variable
echo $ARKD_WALLET_ADDR
# Should be: localhost:6060
# Find process using port
lsof -i :7070
# Kill process
kill -9 <PID>
For complex test failures, route to ark-developer for comprehensive analysis (uses dev-loop skills for fast iteration).
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
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]
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]
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.
When invoked:
Analyze request type:
Provide immediate value:
Route efficiently:
Follow up:
| 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.