← 返回 Skills 市场
thinh-vu

Vnstock Environment Setup for Python Vibe Coding

作者 thinh-vu · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
219
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install vnstock-env-setup
功能描述
Comprehensive environment diagnostic, setup, and agent guide installation for the Vnstock ecosystem (Free or Sponsored). Validates OS, Python, venv, and perf...
安全使用建议
This skill appears to do what it claims (diagnose environment and install an Agent Guide) but it is intrusive and includes higher-risk operations. Before running it, consider these precautions: - Inspect remote resources first: manually open https://vnstocks.com/files/requirements.txt and the installer script rather than piping curl/wget into bash. Prefer downloading and reviewing files before execution. - Avoid passing secrets on the command line (the example --api-key "API_KEY" will appear in process lists). Use a secure credential mechanism if required and ask the installer vendor for a safer method. - Back up your repository and .agents/skills and docs/ before running the script (the script can delete and replace these directories). The setup script will attempt git commits, but you should create an independent backup. - Verify the GitHub repo (https://github.com/vnstock-hq/vnstock-agent-guide.git) contents yourself to ensure it is legitimate and review what will be copied into your workspace. - Prefer running the diagnostic script only (scripts/diagnostics.py) first in an isolated environment (container or temp clone) to see results without modifying files. - Be cautious if you allow an autonomous agent to invoke this skill: it can run sudo, install packages, overwrite files, and replace other skills. Only grant autonomous use if you fully trust the skill source. If you want, I can: (1) fetch and show the contents of the remote requirements/installer (if you provide permission), (2) suggest a safer sequence of manual commands to apply, or (3) run a dry-run checklist to identify exactly what would be overwritten and what network calls would be made.
功能分析
Type: OpenClaw Skill Name: vnstock-env-setup Version: 1.0.0 The skill bundle performs high-risk environment setup operations, including executing remote shell scripts via 'curl | bash' and 'wget | bash' from vnstocks.com (SKILL.md). The setup_agent_guide.py script downloads and executes a binary Git installer on Windows using silent flags and clones a remote repository (github.com/vnstock-hq/vnstock-agent-guide.git) to overwrite local workspace directories, including other skill bundles. While these actions are consistent with the stated purpose of a setup utility, the reliance on unverified remote execution and automated workspace modification poses a significant security risk.
能力评估
Purpose & Capability
Name, description, SKILL.md, and the two Python scripts are generally consistent: diagnostics, venv guidance, and installing an Agent Guide. However, the skill instructs use of an API key in command lines (not declared in requires.env) and relies on external URLs (vnstocks.com) to fetch requirements/installer — these are reasonable for a vendor-specific installer but should have been declared by the skill as expected credentials/endpoints.
Instruction Scope
Runtime instructions tell the agent to run diagnostics and to install/update an Agent Guide by cloning a GitHub repo and copying/overwriting files in the user's workspace (docs/, .agents/skills/*). The SKILL.md mandates asking permission before overwriting docs/, and the script enforces a --confirm-docs-overwrite flag, but the process still overwrites files and replaces skills in .agents/skills (it will remove existing skill directories). The instructions also recommend piping remote installer scripts into bash and passing API keys on the command line — both increase risk of accidental credential exposure or arbitrary code execution.
Install Mechanism
There is no platform install spec (instruction-only) but the included scripts perform network installs: git installer from a GitHub release (expected), git clone from github.com (expected), and pip installs / wget|curl from https://vnstocks.com (unknown third-party domain). The curl/wget piped to bash pattern is high risk because it executes remotely-fetched code without local inspection. Pip installs directly from a remote requirements.txt also pulls arbitrary packages from that host or package indexes reachable from it.
Credentials
The skill declares no required environment variables or credentials but the instructions and examples show an API_KEY being passed to the sponsor installer (not declared). The scripts read common environment markers like VIRTUAL_ENV/CONDA_PREFIX (reasonable), but they also modify workspace state: initialize git, create commits, remove and replace skill directories under .agents/skills, and overwrite docs/. Modifying other skills' directories and making commits is a significant privilege that goes beyond a simple diagnostic helper.
Persistence & Privilege
always:false (good), but the scripts autonomously modify repository state (git init/commit/config), can run privileged package manager commands (sudo apt-get) and will overwrite docs/ and .agents/skills directories. Although not claiming permanent platform privileges, the skill's behavior is intrusive and can replace other skills and documentation in the workspace — this increases blast radius if invoked by an agent without tight user approval.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install vnstock-env-setup
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /vnstock-env-setup 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of vnstock-env-setup: CLI-based environment diagnostics, setup, and migration guide for the Vnstock ecosystem. - Provides step-by-step commands for OS validation, Python/venv setup, dependency installation, and package setup for both Free and Sponsor tiers. - Includes automated diagnostics script to detect environment issues; avoids manual confirmation steps where possible. - Enforces use of Python virtual environments on all supported OSes (no global installs). - Adds Agent Guide installation workflow with explicit user permission before overwriting existing docs. - Supports legacy code migration for Sponsor users, invoking migration logic if old imports are detected.
元数据
Slug vnstock-env-setup
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Vnstock Environment Setup for Python Vibe Coding 是什么?

Comprehensive environment diagnostic, setup, and agent guide installation for the Vnstock ecosystem (Free or Sponsored). Validates OS, Python, venv, and perf... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 219 次。

如何安装 Vnstock Environment Setup for Python Vibe Coding?

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

Vnstock Environment Setup for Python Vibe Coding 是免费的吗?

是的,Vnstock Environment Setup for Python Vibe Coding 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Vnstock Environment Setup for Python Vibe Coding 支持哪些平台?

Vnstock Environment Setup for Python Vibe Coding 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Vnstock Environment Setup for Python Vibe Coding?

由 thinh-vu(@thinh-vu)开发并维护,当前版本 v1.0.0。

💬 留言讨论