Build integrated IS/BS/CF financial workbooks in Excel.
日本語の概要は準備中です。原文の説明を表示しています。
Use for AST/dep graph/complexity analysis of Python code.
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
AST-Parsing + Dependency-Graph + Complexity-Analyse + Refactoring-Vorschläge + HTML-Report für Python-Codebasen.
scripts/code-intelligence.py scannt alle .py-Dateien in openamer_cli/, scripts/ und tests/, baut einen vollständigen AST-basierten Code-Intelligence-Graph und exportiert:
| Flag | Beschreibung |
|---|---|
--build | Scanner alle .py-Dateien und baut den Graph neu |
--query TERM | Findet alle Referenzen zu Funktion/Klasse/Datei |
--deps FILE | Zeigt Abhängigkeiten einer Datei |
--complexity | Top-N komplexeste Funktionen (McCabe) |
--suggest-refactor | Analysiert Graph & findet Refactoring-Kandidaten |
--report | Generiert HTML-Report mit D3.js-Graph-Visualisierung |
--json | Machine-readable JSON-Output |
--no-cache | Ignoriert Cache, baut immer neu |
--top N | Top N für --complexity (default: 10) |
# Graph bauen
python scripts/code-intelligence.py --build
# Nach Funktionen/Dateien suchen
python scripts/code-intelligence.py --query 'cmd_cron'
python scripts/code-intelligence.py --query 'KanbanBoard'
# Abhängigkeiten anzeigen
python scripts/code-intelligence.py --deps 'openamer_cli/cron.py'
# Komplexität
python scripts/code-intelligence.py --complexity --top 20
# Refactoring-Vorschläge
python scripts/code-intelligence.py --suggest-refactor
# HTML-Report (mit D3.js Graph)
python scripts/code-intelligence.py --report
# Bauen + Report in einem Schritt
python scripts/code-intelligence.py --build --report
| Code | Bedeutung |
|---|---|
| 0 | Erfolg |
| 1 | Fehler (ungültige Argumente) |
| 2 | Graph nicht gefunden |
| 3 | Abhängigkeitsfehler |
Der Graph wird gespeichert als JSON unter:
$OPENAMER_HOME\.code-intelligence\graph.json
Struktur:
{
"meta": { "built_at": "...", "total_files": 2852, ... },
"nodes": [
{
"file": "openamer_cli/cron.py",
"lines": 500,
"functions": [{ "name": "cron_list", "complexity": 18, ... }],
"classes": [],
"imports": [{ "module": "json", ... }],
"internal_deps": ["openamer_cli/colors.py"]
}
],
"edges": [
{ "from": "openamer_cli/cron.py", "to": "openamer_cli/colors.py", "type": "import" }
]
}
Der Graph wird automatisch alle 24h via Cron-Job neu gebaut:
0 */24 * * * python scripts/code-intelligence.py --build
REPO_DIR in der Datei oder führe aus dem Repo-Root aus.--build aktualisiert.d3js.org). Bei fehlender Internetverbindung wird kein Graph gerendert, die Tabelle bleibt lesbar.まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Build integrated IS/BS/CF financial workbooks in Excel.
日本語の概要は準備中です。原文の説明を表示しています。
Run and grow the OpenAmer Agent-to-Agent swarm: identity, trust, node-to-node ask, signed skill/insight sharing, and the autonomous self-learning loop.
日本語の概要は準備中です。原文の説明を表示しています。
Use for A/B experiments on OpenAmer configs and skills.
日本語の概要は準備中です。原文の説明を表示しています。
Roleplay a hostile user to find and triage UX pain points.
日本語の概要は準備中です。原文の説明を表示しています。
Agent mesh: master/worker nodes, HTTP delegation, heartbeat.
日本語の概要は準備中です。原文の説明を表示しています。
Use for agentic commerce payments tasks. Candidate synthesized from trend radar; awaiting trial promotion.
日本語の概要は準備中です。原文の説明を表示しています。