Statsoft CLI Statistical Software Integration Assistant
Paste the following prompt into your AI chat to install this skill:
Install @user_ff7413f5/statsoft-cli according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem: statistical software is hard for agents to call reliably
Legacy analysis work is often trapped inside local tools such as SPSS, Stata, SAS, R, and Mplus. Their CLIs differ, paths are scattered, versions drift, and batch entry points are inconsistent. Statsoft-CLI does not replace the statistical software; it adds a detectable, configurable, and controlled bridge for AI workflows.
How it works: detection, configuration, and guarded execution
- Platform routing: selects entry points by Windows, macOS, Linux, and software availability, hiding incompatible Windows-only tools on non-Windows hosts.
- Clarification gate: classifies the first request as
Simple,Complex, orVague. Clear tool + action requests go straight to detection/configuration; multi-tool or uncertain requests enter guided menu confirmation. - Default-deny posture: persisting
config.json, revealing paths/versions, launching third-party binaries, and compiling/running Stan models are off unless explicitly authorized viaSTATSOFT_AUTO_WRITE,STATSOFT_CONFIRM,STATSOFT_REVEAL,STATSOFT_VERIFY, orSTATSOFT_CMDSTAN_RUN. - Auditable config writes: writes go through
write_config.py, which accepts only the canonicalconfig.jsonunder the skill root, takes a timestamped backup, and atomically replaces the file.
Boundaries and cautions
Best for engineers who already use statistical software and want AI agents to connect legacy scripts, data conversion, or batch runs. It is not meant to treat GUI-only tools such as Minitab, JASP, or jamovi as headless batch engines. Running .sps files, downloading/installing software, and network access are high-risk operations; review scripts, downloads, and generated commands before production use.
Use Cases
- Convert a local `data.sav` file into Stata-readable `data.dta` before handing it to an AI workflow for further analysis.
- Inventory legacy SPSS, Stata, and SAS scripts, then detect installed versions and route execution through the correct entry points.
- Configure CLI access for R, Stata, or SAS on macOS or Linux while automatically hiding incompatible Windows-only tools.
- Have an AI agent read statistical software detection results under a default-deny policy, then authorize `config.json` writes only when needed.
Best For
- Data analysts who want to connect legacy SPSS, Stata, or SAS scripts to AI workflows.
- Research engineers who maintain statistical software environments across multiple platforms.
- Developers who use AI agents for data format conversion and batch processing orchestration.
- Platform engineers who need to manage statistical software versions, paths, and configuration permissions.
Related Skills
A free matrix publishing assistant for Skill developers, guiding distribution to Tencent SkillHub, XiaLiao, XiaYou SkillHub, GitHub, and ClawHub with create, update, and delete safeguards.
A guide for writing Seedance 2.0 video prompts, covering @ references, camera moves, time segments, audio direction, and common pitfalls.
Collects daily conversations, task logs, and errors, then runs a nine-module review to surface blind spots, generate actions, and update memory.
Local long-term memory for AI agents that appends key facts and daily logs, supports cross-session context and search recall, and auto-archives old diaries to gzip files.