← 返回 Skills 市场
lovenervermore

Recognize Intent

作者 LoveNerverMore · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
220
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install recognize-intent
功能描述
识别自然语言的意图类别并解析其中的语义,包括指标和维度,例如:"今天的缤果店的业绩如何 " ,将提取指标:订单成交额(业绩) ,维度:年月日-今天(2026-03-10) ,店铺-缤果店 ...
安全使用建议
This skill appears to implement intent recognition as described, but pay attention to these points before installing: - .env loading: index.js will read a skills/.env (if present) and inject those variables into the process environment, and the Python subprocess inherits the entire environment. Avoid storing unrelated secrets in .env or the agent environment if you enable this skill. - Remote LLM calls: the Python code can call a Gemini REST endpoint (gemini_api_url) using gemini_api_key / token. If you supply those creds or they exist in environment, the user query and generated prompts will be sent to that endpoint. Only provide keys for a trusted host. - Optional connectors: SKILL.md references Milvus/MySQL/semantic services. Those are optional and degrade gracefully if not provided, but if you configure them they will be contacted and may receive parts of user input or metadata. - Dependency/runtime: this bundle expects Python and the httpx library (and possibly other Python libs). Test in a sandbox or ensure dependencies are installed in a controlled environment. - Inconsistencies: SKILL.md suggests file-based workflows (reading rewrite_output.json and writing intent_output.json) but the packaged index.js uses stdin/stdout instead; expect differing behaviors depending on how you invoke the skill. Recommendations: inspect any skills/.env file before use, avoid placing unrelated secrets in the agent environment, only provide Gemini/API credentials if you trust the endpoint, and test the skill in an isolated environment first.
功能分析
Type: OpenClaw Skill Name: recognize-intent Version: 1.0.0 The skill bundle implements a complex intent recognition and semantic extraction gateway for a BI system, utilizing LLMs (Gemini) and vector databases (Milvus/MySQL). The code in `recognize_intent.py` and `index.js` is well-structured and aligns with the stated purpose of parsing natural language queries into structured metrics and dimensions. While the skill requires access to environment variables and external network endpoints for database and API connectivity, there is no evidence of malicious intent, data exfiltration, or unauthorized command execution.
能力评估
Purpose & Capability
Name/description match the included code: the Python module implements intent classification, indicator extraction and metric-slot parsing. The SKILL.md documents optional connectors (Milvus, MySQL, semantic services) used for richer behavior; these are declared as degradable (optional) and constructor injection is provided. Minor mismatch: the registry declares no required env vars, yet SKILL.md documents many optional .env keys — acceptable if optional, but worth noting.
Instruction Scope
SKILL.md instructs reading/writing files under skills/.workflow and calling the Python script; index.js instead uses stdin/stdout to invoke the Python code. The code will call an external Gemini REST API (if configured) and uses injected services for vector search/DB lookups when present. The instructions mention many .env keys and external services; the runtime will attempt remote network calls (Gemini) which will transmit user queries to that endpoint. The instructions grant the skill discretion to call optional services and to trigger a clarification workflow when confidence <0.7.
Install Mechanism
No install spec (instruction+code only). That minimizes supply-chain risk — all code is included in the bundle. Runtime requires Python and the httpx library, but there is no download-from-URL or script that fetches external archives during install.
Credentials
The skill (index.js) loads a .env file from the parent skills directory into process.env if present and passes process.env wholesale into the spawned Python process. Although the manifest lists no required credentials, SKILL.md documents many optional env keys (MILVUS_*, MYSQL_*, GEMINI_*). Because the child process inherits the full environment, any secrets present in the agent environment or .env could be accessible to the skill and, if configured, sent to remote services (e.g., Gemini). This is disproportionate if users keep unrelated secrets in the environment.
Persistence & Privilege
always is false and the skill does not request persistent/always-on presence. There is no indication it modifies other skills' configs or requests system-wide privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install recognize-intent
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /recognize-intent 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of recognize_intent skill. - Identifies the intent category and extracts core semantic entities (indicator & dimension) from natural language queries. - Takes rewritten queries as input and outputs intent, metric, and info for downstream processing. - Supports intent routing: handle_data_query, handle_metadata_query, attribution_analysis, other. - Integrates with multiple backend services (vector search, MySQL, dictionary/logic enhancer) with automatic degradation on connection failure. - Triggers clarification workflow if confidence is below threshold. - Provides standalone execution guidance.
元数据
Slug recognize-intent
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Recognize Intent 是什么?

识别自然语言的意图类别并解析其中的语义,包括指标和维度,例如:"今天的缤果店的业绩如何 " ,将提取指标:订单成交额(业绩) ,维度:年月日-今天(2026-03-10) ,店铺-缤果店 ... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 220 次。

如何安装 Recognize Intent?

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

Recognize Intent 是免费的吗?

是的,Recognize Intent 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Recognize Intent 支持哪些平台?

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

谁开发了 Recognize Intent?

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

💬 留言讨论