← 返回 Skills 市场
arlanrakh

Nia

作者 arlanrakh · GitHub ↗ · v1.0.3
cross-platform ⚠ suspicious
2589
总下载
0
收藏
3
当前安装
4
版本数
在 OpenClaw 中安装
/install nia
功能描述
Index and search code repositories, documentation, research papers, HuggingFace datasets, local folders, and packages with Nia AI. Includes Oracle autonomous research, dependency analysis, context sharing, and code advisor.
安全使用建议
This skill appears to implement the advertised Nia indexing/search features, but pay attention before installing or running it: - The scripts expect a Nia API key stored at ~/.config/nia/api_key and will read it automatically; the registry metadata does not declare this — verify you trust trynia.ai before adding your key.\n - Many commands (folders create/sync, deps upload, advisor with files, from-db, etc.) will read local files or accept DB connection strings and send their contents to the remote API (https://apigcp.trynia.ai/v2). Do not index or upload secrets, private keys, credentials, or sensitive directories (home, /.ssh, etc.).\n - The skill lets you share conversation contexts across agents — that can leak confidential chat history if used without limits.\n - If you plan to let an autonomous agent invoke this skill, restrict what the agent can do: avoid granting it access to sensitive local folders or database credentials, or disable autonomous invocation for this skill in your agent policy if possible.\n - Recommended steps before use: (1) Confirm the homepage and API host are the official provider you expect; (2) create a dedicated, limited-scope API key on trynia.ai (if supported) rather than using a broad key; (3) review and avoid running folder/index commands on sensitive paths; (4) prefer manual invocation and inspect commands before running.\n - The main metadata omission (undeclared config path / credential) is an incoherence — ask the publisher to declare required credentials and config paths in the registry entry before trusting automated workflows.
功能分析
Type: OpenClaw Skill Name: nia Version: 1.0.3 The skill is classified as suspicious due to several high-risk capabilities that, while aligned with its stated purpose of indexing and searching, could be easily abused for data exfiltration. Specifically, `scripts/folders.sh` contains functions (`_scan_folder`, `cmd_from_db`, `cmd_preview_db`) that allow reading arbitrary local text files and executing arbitrary SQL queries against accessible databases, then uploading the content/results to the remote API endpoint `https://apigcp.trynia.ai/v2`. While there is no clear evidence of intentional malicious behavior or prompt injection attempts in the `SKILL.md` to subvert the agent, these broad file and database access permissions represent a significant security risk if the agent were to be compromised or misused.
能力评估
Purpose & Capability
The scripts (repos, sources, search, oracle, tracer, folders, advisor, deps, contexts, etc.) implement indexing/searching of repos, docs, papers, datasets, local folders, dependency analysis and an 'Oracle' research flow — which matches the skill name and description.
Instruction Scope
Runtime instructions and provided scripts will read local files and directories (folders.sh _scan_folder) and can upload their full contents, accept DB connection strings and run DB previews/uploads, and save/share conversation contexts. These behaviors are consistent with the feature set but expand the scope to potentially exfiltrate arbitrary local data to https://apigcp.trynia.ai/v2 if misused or invoked without careful limits; SKILL.md does not prominently warn about sensitive-data risks.
Install Mechanism
No install spec or remote download; this is an instruction+script bundle included in the skill. No installers or remote archives are fetched by the package itself (lower install risk).
Credentials
The registry metadata claims no required env/config, but SKILL.md + scripts require an API key stored in ~/.config/nia/api_key (lib.sh reads it on source). That credential/config-path requirement is not declared in metadata (and 'required config paths' is empty), which is an inconsistency. The scripts also accept optional DB connection strings, files to upload, and many optional env vars for behavior — these are plausible for the stated purpose but increase sensitivity because secrets and local data may be sent to the provider.
Persistence & Privilege
The skill is not always-included, does not request elevated platform privileges, and does not modify other skills or system-wide settings. Note: lib.sh auto-initializes auth on source which causes the scripts to read the API key file when any script is run.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install nia
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /nia 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
Nia 1.0.3 — Major script refactor and new unified commands. - Consolidated 28 individual scripts into 13 unified scripts with subcommands for simpler usage. - Added new top-level scripts: `sources.sh`, `repos.sh`, `papers.sh`, `datasets.sh`, `search.sh`, `oracle.sh`, `tracer.sh`, and more. - New functionality: category and context management, dependency analysis, local folders, and code advisor scripts. - Updated SKILL.md for new usage patterns, environment variables, and script arguments. - Most commands now support flexible identifiers (UUID, display name, or URL). - Deprecated commands and endpoints are now removed for a cleaner interface.
v1.0.2
- Added support for the `unified` search mode to `search-query.sh`, enabling simultaneous search across repositories and data sources. - Enhanced `search-universal.sh` to allow including HuggingFace datasets by passing `true` as the third argument (excluded by default). - Updated documentation in SKILL.md to describe the new `search_mode` in `search-query.sh` and expanded usage notes for both key search scripts. - No breaking changes; workflows remain the same for existing functionality.
v1.0.1
- Added 7 new scripts for enhanced data source, package, search, and Oracle research job operations. - New scripts include: sources-ls.sh (list source directories), sources-read.sh, package-read.sh, search-query.sh, oracle-job.sh, oracle-job-status.sh, and oracle-jobs-list.sh. - Expanded documentation to cover new endpoints and usage examples, including clearer API references and identifier flexibility. - Introduced "Oracle Jobs API" for managing asynchronous AI research jobs. - Improved search functionality with targeted and universal query scripts. - Added a usage summary script for tracking API consumption.
v1.0.0
- Initial release of the Nia skill. - Direct API access to Nia for indexing and searching code repositories, documentation, research papers, and HuggingFace datasets. - Provides setup instructions, workflow guidance, and example scripts for all core functions. - Supports deterministic research workflows prioritizing indexed sources for accurate AI context. - Includes scripts and guidance for repository, documentation, research paper, and dataset management. - Offers API reference and usage examples for flexible integration.
元数据
Slug nia
版本 1.0.3
许可证
累计安装 3
当前安装数 3
历史版本数 4
常见问题

Nia 是什么?

Index and search code repositories, documentation, research papers, HuggingFace datasets, local folders, and packages with Nia AI. Includes Oracle autonomous research, dependency analysis, context sharing, and code advisor. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2589 次。

如何安装 Nia?

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

Nia 是免费的吗?

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

Nia 支持哪些平台?

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

谁开发了 Nia?

由 arlanrakh(@arlanrakh)开发并维护,当前版本 v1.0.3。

💬 留言讨论