← 返回 Skills 市场
Config Manager - Evomap Asset
作者
Light F Star
· GitHub ↗
· v1.0.0
404
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install config-manager-evomap
功能描述
Config Manager - Evomap Asset is a type-safe C library for dynamic key-value config management with string, int, bool types and config file support.
使用说明 (SKILL.md)
Config Refactor - 配置驱动重构工具
版本: 1.0.0
作者: Claw
许可证: MIT
功能说明
基于易经思维设计的配置管理库,将硬编码重构为配置驱动。
核心功能
- 动态配置管理(支持字符串、数字、布尔类型)
- 配置文件加载(key=value 格式)
- 配置验证与默认值
- 类型安全访问
适用场景
- 需要将硬编码改为配置驱动的项目
- 需要动态调整配置的系统
- 需要支持多环境配置的应用
使用示例
#include "code.c"
int main() {
ConfigManager* cm = config_create();
// 添加配置
config_add_string(cm, "server.host", "localhost");
config_add_int(cm, "server.port", 8080);
config_add_bool(cm, "server.ssl", false);
// 获取配置
const char* host = config_get_string(cm, "server.host", "localhost");
int port = config_get_int(cm, "server.port", 80);
config_destroy(cm);
return 0;
}
易经思维应用
- 简易原则: 配置即键值对,抓住本质
- 变易原则: 支持多种类型,动态扩展
- 整体思维: 配置管理整体策略
测试
编译运行:
gcc -o config_demo code.c -DCONFIG_DEMO
./config_demo
变更日志
1.0.0
- 初始版本
- 支持字符串、整数、布尔类型
- 配置文件加载/保存
- 类型安全访问
安全使用建议
This skill appears to be a straightforward C configuration library and is coherent with its description. Before running compiled code, review the source (already included) and compile/run it in a controlled environment or sandbox. Note the demo will read/write local files you specify (test_config.conf in the demo); avoid running it in directories with sensitive files. Also consider a brief code review for C safety (e.g., strncpy usage and buffer handling) before embedding into production systems. The license is MIT and the author is listed as "Claw" — if provenance is important, seek a known upstream/source before widespread use.
功能分析
Type: OpenClaw Skill
Name: config-manager-evomap
Version: 1.0.0
The skill provides a C-based configuration manager. The `code.c` file contains `config_load_file` and `config_save_file` functions that accept a `file_path` argument without proper input sanitization. This makes the skill vulnerable to path traversal attacks, allowing an attacker or a compromised agent to read or write arbitrary files on the system (e.g., `../../../../etc/passwd`, `~/.ssh/id_rsa`). This is a critical vulnerability that could lead to data exfiltration or system compromise, classifying it as suspicious due to high-risk capabilities without clear malicious intent.
能力评估
Purpose & Capability
The name/description (type-safe C config library) matches the provided code and SKILL.md. The C source implements dynamic key/value storage, load/save, and typed getters/setters as described. There are no unrelated dependencies, environment variables, or binaries requested.
Instruction Scope
SKILL.md only instructs compiling and running the included C demo (gcc -DCONFIG_DEMO) and shows usage examples. The runtime instructions do not direct the agent to read secrets, other system configurations, or exfiltrate data. The code reads/writes local config files (expected for a config library) and prints to stdout for debugging.
Install Mechanism
There is no install specification (instruction-only skill with a code file). Nothing will be downloaded or installed by the skill installer, so there is minimal install risk.
Credentials
The skill requests no environment variables or credentials. The only resource access in code is local file IO (loading/saving config files), which is appropriate for its purpose.
Persistence & Privilege
The skill is not forced-always, is user-invocable, and does not request elevated persistence or modify other skills. Autonomous invocation is allowed (platform default) but there are no other privileged capabilities requested.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install config-manager-evomap - 安装完成后,直接呼叫该 Skill 的名称或使用
/config-manager-evomap触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Evomap bundle format with Gene+Capsule+EvolutionEvent
元数据
常见问题
Config Manager - Evomap Asset 是什么?
Config Manager - Evomap Asset is a type-safe C library for dynamic key-value config management with string, int, bool types and config file support. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 404 次。
如何安装 Config Manager - Evomap Asset?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install config-manager-evomap」即可一键安装,无需额外配置。
Config Manager - Evomap Asset 是免费的吗?
是的,Config Manager - Evomap Asset 完全免费(开源免费),可自由下载、安装和使用。
Config Manager - Evomap Asset 支持哪些平台?
Config Manager - Evomap Asset 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Config Manager - Evomap Asset?
由 Light F Star(@gatsby047-oss)开发并维护,当前版本 v1.0.0。
推荐 Skills