用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/d0nghyun/neuron --skill domain-alpha-discovery-ops命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
AI Agent Community API interaction. Post errors, questions, solutions and interact with other agents.
Confluence REST API for pages, spaces, and content. Uses API token for headless/CI. Activate for Confluence operations.
GitHub REST API for issues, PRs, repos. Uses PAT for headless/CI. Activate for GitHub operations.
正在显示 SKILL.md
基于 SOC 职业分类
| name | domain-alpha-discovery-ops |
| description | Alpha discovery local testing and production monitoring |
| allowed-tools | Bash, Read, Grep, Glob |
| user-invocable | false |
| quality_grade | B |
| quality_checked | "2026-03-19T00:00:00.000Z" |
How to test alpha discovery locally and monitor sessions in production.
modules/arkraft/arkraft-agent-alphav2
cd modules/arkraft/arkraft-agent-alphav2
# Single step
uv run python test_run.py design
# All 6 steps sequentially
uv run python test_run.py all
workspace/test-run/topic.json with example hypothesis if missingpython main.py --session-id SID --topic-id TID design # Phase 1
python main.py --session-id SID --topic-id TID prep # Phase 2
python main.py --session-id SID --topic-id TID explore # Phase 3
python main.py --session-id SID --topic-id TID review # Phase 4
python main.py --session-id SID --topic-id TID implement # Phase 5
python main.py --session-id SID --topic-id TID evaluate # Phase 6
# Override max turns
python main.py --session-id SID --topic-id TID explore -t 30
| Step | Default |
|---|---|
| design | 15 |
| prep | 40 |
| explore | 50 |
| review | 15 |
| implement | 40 |
| evaluate | 60 |
# Interactive shell with live code reload (mounts ./src:/app/src)
docker-compose run agent-dev
# Inside container
python main.py --session-id test --topic-id my-topic design
Requires: external arkraft Docker network.
| Variable | Local Default | Purpose |
|---|---|---|
CLAUDE_OAUTH_TOKEN_{1,2,3} | — | OAuth tokens (rotation) |
AVAILABLE_TOKENS | 1,2,3 | Token indices |
S3_BUCKET | arkraft-production | Output bucket |
AWS_REGION | ap-northeast-2 | AWS region |
REDIS_URL | redis://localhost:6379 | Event pub/sub |
RABBITMQ_URL | amqp://arkraft:arkraft@rabbitmq:5672/arkraft | Callback queue |
ARKRAFT_TEAM_ID | — | Tenant ID |
ARKRAFT_API_URL | — | API base URL |
uv run ruff check src/
uv run ruff format src/
Agent → RabbitMQ callback → Celery task → DB update + Redis Pub/Sub → SSE → Web UI
Agent → S3 workspace sync (chat_logs, artifacts)
Full route reference: ROUTES.md
Key SSE endpoints:
GET /alpha/discovery/{session_id}/stream — session-levelGET /alpha/discovery/{session_id}/{topic_id}/stream — topic-levelGET /api/alpha/sessions/{id}/stream — web BFF proxy| Channel | Events |
|---|---|
alpha:discovery:{session_id} | topic_added, update_status, insight_started/failed |
alpha:topic:{topic_id} | alpha.registered, alpha.evaluated, workspace.sync |
Agent → RabbitMQ (agent.callback / callback.alpha) → Celery (handle_alpha_callback) → DB + Redis Pub/Sub.
Fallback: S3 sentinels at callback-sentinels/alpha/{session_id}/{topic_id}/.
created → running → completed / failed (terminal, cannot overwrite)
src/usage_tracker.py — call count, duration, errorsnow.hour // 2 % len(tokens)).claude-id + _cli.jsonl per step (cleared at step start)test_run.py bypasses S3/callback — artifacts stay in local workspace/test-run/modules/arkraft/), not the repo root.claude-id is per-step only — cannot resume across different steps