← 返回 Skills 市场
philippeh5

Dashboard Manager2

作者 Philippeh5 · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
730
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install dashboard-manager2
功能描述
Gère en temps réel la lecture, mise à jour et synchronisation du fichier data.json du dashboard Jarvis, incluant notes, tâches, logs et statistiques.
使用说明 (SKILL.md)

Dashboard Manager Skill

Description

Gère les interactions avec le dashboard Jarvis. Ce skill permet de lire, mettre à jour et synchroniser le fichier data.json en temps réel.

Fonctionnalités

  • Lecture/Sauvegarde : Accès au fichier data.json
  • Gestion des notes : Récupération des notes pending et marquage comme processed
  • Logging : Ajout d'entrées dans l'historique
  • Mise à jour du système : Statut, heartbeat, modèle actif
  • Statistiques : Compteurs de tokens et coûts
  • Gestion des tâches : Ajout et mise à jour
  • Sub-agents : Gestion des agents actifs

Configuration

Chemin du fichier

const DATA_FILE_PATH = 'D:\\Projets\\ClaudBot\\Jarvis_Dashboard\\data.json';

Permissions

  • Lecture/Écriture : Accès au fichier data.json
  • Système : Mise à jour du statut et heartbeat
  • Logging : Ajout d'entrées dans l'historique

API

Fonctions principales

// Chargement de la base de données
await loadDatabase();

// Sauvegarde de la base de données
await saveDatabase(db);

// Récupération des notes en attente
const pendingNotes = await getPendingNotes();

// Marquage d'une note comme traitée
await processNote(noteId);

// Ajout d'un log
await addLog('Action effectuée');

// Mise à jour du statut du système
await updateSystemStatus('idle', 'Claude-3-Opus');

// Mise à jour des statistiques
await updateStats(1500, 2800, 0.52);

// Ajout/mise à jour d'une tâche
await updateTask(1, { status: 'done' });

// Gestion des sub-agents
await addSubAgent('dashboard_agent', 'Monitoring dashboard');
await removeSubAgent('dashboard_agent');

Initialisation

const dashboardSkill = require('./skills/dashboard-manager');
const success = await dashboardSkill.init();
if (success) {
    console.log('🚀 Dashboard Manager initialisé');
}

Permissions requises

  • Accès fichier : D:\Projets\ClaudBot\Jarvis_Dashboard\data.json
  • Écriture système : Mise à jour du statut et heartbeat
  • Logging : Ajout d'entrées dans l'historique

Utilisation

Ce skill est conçu pour fonctionner en arrière-plan et maintenir la synchronisation entre Jarvis et le dashboard en temps réel.

Boucle de fonctionnement (The Loop)

  1. INPUT : Consulte quick_notes et traite les notes pending
  2. OUTPUT : Met à jour data.json avec les changements
  3. Auto-sync : Heartbeat toutes les 2 secondes
  4. Silent mode : Fonctionne sans intervention conversationnelle

Exemple d'utilisation

// Dans une réponse conversationnelle
await updateStats(estimatedInputTokens, estimatedOutputTokens, estimatedCost);
await addLog('Réponse à la question sur les agents');
await updateSystemStatus('idle');

Installation

  1. Copier le dossier dashboard-manager dans le répertoire des skills
  2. Vérifier le chemin du fichier data.json
  3. Activer le skill dans la configuration
  4. Le skill s'initialisera automatiquement

Dépannage

Problèmes courants

  • Fichier introuvable : Vérifier le chemin DATA_FILE_PATH
  • Permissions refusées : Vérifier les droits d'accès au fichier
  • JSON invalide : Vérifier la syntaxe du fichier data.json

Logs

Les logs sont ajoutés automatiquement dans la section logs du fichier data.json pour le suivi des actions.

Sécurité

  • Accès limité : Seul le fichier data.json est accessible
  • Écriture contrôlée : Les mises à jour sont validées
  • Logs d'audit : Toutes les actions sont enregistrées

Compatibilité

Ce skill est compatible avec OpenClaw et fonctionne avec n'importe quelle instance de Jarvis utilisant le dashboard V2 Ultimate.

安全使用建议
Do not install immediately — ask the author to explain the mismatches before granting permissions. Specifically: - Confirm whether the skill is supposed to access data.json directly or proxy everything through a local HTTP service. The code suggests the latter; SKILL.md and skill.json suggest the former. - If the skill truly needs file access, require a clear justification and consider limiting the allowed path (or providing a copy of the file) rather than granting write access to your real dashboard file. - Verify the local HTTP server the skill talks to (http://localhost:8009): inspect its code, endpoints, and whether it could exfiltrate data or perform unexpected actions. - Ask the developer to remove unnecessary file permissions and unused dependencies, or update the code and documentation so they match (either implement file I/O as documented or remove file-related claims). - If you lack the ability to audit the local server, run the skill in an isolated environment (VM/container) and monitor network and file activity before enabling it in production. These inconsistencies look like sloppy packaging or version drift rather than obviously malicious behavior, but they create risk because you might grant privileges that the code doesn't need or that could be abused by a separate local service the skill depends on.
功能分析
Type: OpenClaw Skill Name: dashboard-manager2 Version: 1.0.0 The skill is suspicious due to a critical vulnerability in `index.js` where user-controlled inputs (e.g., `noteId`, `docId`, `ruleId`) are directly interpolated into URL paths for the local `http://localhost:8009` API without apparent sanitization. This creates a high risk of injection attacks (e.g., path traversal, SQL injection) against the local backend server if an attacker can control these inputs. Additionally, there's a significant discrepancy between the `skill.json` and `SKILL.md` which declare direct file access permissions for `D:\Projets\ClaudBot\Jarvis_Dashboard\data.json` and list `fs`/`path` dependencies, while the `index.js` code exclusively communicates with a local HTTP API and performs no direct file operations, raising concerns about the true scope and intent of the skill's capabilities.
能力评估
Purpose & Capability
SKILL.md and skill.json state the skill reads/writes D:\Projets\ClaudBot\Jarvis_Dashboard\data.json and requires file permissions, but index.js does not read or write that file—instead it issues HTTP calls to a local server at http://localhost:8009. Declared node dependencies ('fs' and 'path' with odd versions) are unnecessary for the provided code. The requested permissions and capabilities (file access, system writes) are disproportionate to what the code actually does.
Instruction Scope
The runtime instructions describe a background loop, auto-sync heartbeat every 2s, and direct file manipulation of data.json; the implementation exports only a set of API wrapper functions and contains no loop, no file I/O, and no heartbeat logic. SKILL.md therefore instructs operators to grant file permissions and to verify a specific local path that the code itself never touches—this mismatch expands the skill's effective scope if users follow the doc.
Install Mechanism
No install spec is provided (instruction-only with a code file). That minimizes disk-write risk from an installer; the only files are the skill bundle itself. No external downloads or extract steps are present.
Credentials
The skill requests file read/write permission to a specific Windows path in skill.json and SKILL.md but the code performs network calls to localhost instead and doesn't use environment variables or credentials. This asks for elevated local file access without code justification. The declared dependencies ('fs','path') and their placeholder versions are odd but not directly harmful—still they appear unnecessary.
Persistence & Privilege
The skill is not always-enabled and does not request system-wide or other-skills configuration changes. It exports functions for on-demand use; nothing in the bundle shows it self-enabling or persisting beyond normal skill files.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dashboard-manager2
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dashboard-manager2 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Added initial configuration file: `skill.yaml` - Removed test file: `test.js` - No changes to main documentation or features - First public version of the Dashboard Manager skill
元数据
Slug dashboard-manager2
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Dashboard Manager2 是什么?

Gère en temps réel la lecture, mise à jour et synchronisation du fichier data.json du dashboard Jarvis, incluant notes, tâches, logs et statistiques. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 730 次。

如何安装 Dashboard Manager2?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install dashboard-manager2」即可一键安装,无需额外配置。

Dashboard Manager2 是免费的吗?

是的,Dashboard Manager2 完全免费(开源免费),可自由下载、安装和使用。

Dashboard Manager2 支持哪些平台?

Dashboard Manager2 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Dashboard Manager2?

由 Philippeh5(@philippeh5)开发并维护,当前版本 v1.0.0。

💬 留言讨论