stata
>-
공급 자산 프로필
데이터, BI 및 분석
CSV, SQL, notebooks, dashboards, data pipelines, BI, ETL, and spreadsheet analysis.
시나리오
데이터 분석
I need my agent to analyze CSV data, produce insights, and explain trends.
Agent 적합도
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI 또는 맞춤형 Agent에 적합합니다.
설치
준비됨
npx skills add kennethkhoocy/applied-micro-skills --skill stata
유지보수
최신
오늘 푸시됨
위험
검토 필요
Permission surface may require sandboxing
GitHub 품질
47
64/100 품질 · 68/100 신뢰
커버리지 태그
검토 메모
Permission surface may require sandboxing · Financial research output is not financial advice; require human review before any live investment decision
Agent 채택 스코어카드
신뢰, 감사, 설치 준비 상태를 한눈에 확인하세요
이 점수는 공개 저장소 메타데이터, OpenAgentSkill 검토 신호, 유지보수 최신성, 설치 준비 상태를 결합합니다. 후보 선정 신호일 뿐, 사람의 검토를 대체하지 않습니다.
품질
유망유용한 후보이지만 채택 전에 대안과 비교하세요.
신뢰
샌드박스 전용신뢰 신호가 부족하거나 혼재된 유용한 후보입니다. 결과 루프가 작업 적합성을 입증할 때까지 격리된 작업 공간에서 사용하세요.
감사
검토 필요설치 준비 상태, 보안 메타데이터, 유지보수 및 채택 위험에 대한 기계 판독형 검토입니다.
OpenAgentSkill 신뢰 점수 v5
설치 전 사람 검토
실제 작업에 사용하기 전 샌드박스에서만 실행하고 유사 대안과 비교하세요.
스타
GitHub 스타 47
저장소 활동
스타 47, 포크 0
유지보수
오늘 푸시됨
라이선스
MIT
설치
npx skills add kennethkhoocy/applied-micro-skills --skill stata
설치 안전성
표준 패키지 또는 런타임 설치 경로
권한 범위
shell or command execution, filesystem or document access
Agent 결과
아직 Agent 결과 데이터가 없습니다
문서
Usable metadata, review docs
위험 요약
프로덕션 전 검토
- The skill is tightly coupled to a specific Stata installation (StataNow 19.5 BE at C:\Program Files\StataNow19). This is documented but may limit portability to other environments.
- Financial research output is not financial advice; require human review before any live investment decision.
- Low GitHub adoption signal
- Quality score needs review
설치 준비 상태
설치 경로 사용 가능
- 설치 경로를 사용할 수 있습니다
- 저장소 근거를 사용할 수 있습니다
- 라이선스가 명시되었습니다
- 아직 Agent 검증 결과 근거가 없습니다
Agent 읽기용 메타데이터
이 스킬의 기계 판독형 의사결정 데이터.
이 블록 또는 포함된 JSON을 사용해 Agent가 이 스킬을 설치할지, 대안을 고를지, 먼저 사람의 검토를 요청할지 판단할 수 있습니다.
적합한 작업
- 워크플로 자동화 워크플로
- Claude Code 팀
- builders willing to evaluate younger projects
- Move data between tools
적합한 Agent
설치 결정
- 명령어
- npx skills add kennethkhoocy/applied-micro-skills --skill stata
- 정책
- 검토
- 사람 검토
- 예
신뢰와 위험
- 신뢰
- 60/100
- 감사
- 75/100
- 위험 수준
- 검토 필요
결과 루프
- 엔드포인트
- /api/agent/outcome
- 이벤트 ID
- resolve
- 결과
- 5
사용하지 말아야 할 경우
- 벤더 지원 SLA가 필요한 팀
- production agents without a repository review
- Low GitHub adoption signal
- The skill is tightly coupled to a specific Stata installation (StataNow 19.5 BE at C:\Program Files\StataNow19). This is documented but may limit portability to other environments.
- 고위험 권한 힌트: Shell 또는 명령 실행
Agent 안전 v2
47/100 · 자동 설치 피하기
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
높음
Shell 또는 명령 실행
Skill 메타데이터가 터미널, CLI, Shell, 하위 프로세스 또는 명령 실행 워크플로를 참조합니다.
중간
네트워크 접근
Skill은 원격 페이지, API, 저장소 또는 외부 서비스에 접근할 수 있습니다.
중간
파일 시스템 접근
Skill은 프로젝트 파일, 문서, 생성 산출물 또는 로컬 작업 공간 상태를 읽거나 쓸 수 있습니다.
- 고위험 권한 힌트: Shell 또는 명령 실행
- Permission surface may require sandboxing
설치 대상
Agent 워크플로에 이 스킬 설치
공개 설치 엔드포인트에서 명령어, 안전 체크리스트, 대상 프롬프트와 정규 링크를 가져옵니다.
OpenAgentSkill CLI
Resolve policy, run the source installer safely, and report a verified install receipt.
$ npx --yes https://github.com/Leon-Drq/openagentskill/releases/download/cli-v0.2.1/openagentskill-0.2.1.tgz install kennethkhoocy-stataAgent 해결 계획
설치 전에 Agent가 적합성을 검증하게 하세요.
Resolve API는 최우선 스킬, 대안, 안전 정책, 감사 메모, 설치 대상 및 Agent가 페이지를 스크래핑하지 않고 사용할 수 있는 프롬프트를 반환합니다.
JSON 열기
/api/agent/resolve?task=Use%20stata%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve 텍스트
/api/agent/resolve?task=Use%20stata%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
설치 핸드오프
/api/skills/kennethkhoocy-stata/install
Agent가 확인할 항목
- Resolve API에서 작업 적합도와 대안을 확인합니다.
- 감사 점수, 신뢰 점수 및 안전 정책 경고를 확인합니다.
- Codex, Claude Code, Cursor 또는 CLI의 설치 대상 호환성을 확인합니다.
프롬프트 복사
Task: Use stata in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20stata%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/kennethkhoocy-stata/install
Install command: npx skills add kennethkhoocy/applied-micro-skills --skill stata
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent 핸드오프
또 다른 디렉터리 페이지 대신 설치 경로를 Agent에게 제공합니다.
공개 설치 엔드포인트에서 명령어, 안전 체크리스트, 대상 프롬프트와 정규 링크를 가져옵니다.
설치 핸드오프
/api/skills/kennethkhoocy-stata/install
LLM 텍스트 형식
/api/skills/kennethkhoocy-stata/install?format=text
대안 찾기
/api/skills/search?q=stata&limit=3
Agent 프롬프트
Use stata for this task. Review https://www.openagentskill.com/api/skills/kennethkhoocy-stata/install, then install with: npx skills add kennethkhoocy/applied-micro-skills --skill stataRegistry 메타데이터
자동 스킬 선택을 위한 Agent 읽기용 프로필.
Registry API를 통해 동일한 결정, 신뢰, 감사, 사용 사례, 설치 신호를 제공하므로 Agent가 UI를 스크래핑하지 않고도 순위를 매길 수 있습니다.
Agent 결정 패널
Fallback candidate for Workflow automation
먼저 이 스킬로 프로토타입을 만들고 대체 후보를 준비하세요.
스택 내 역할
대체 후보
주요 적합도
워크플로 자동화
신뢰 라벨
먼저 프로토타입
설치 경로
명령어 준비됨
사용 시점
- 워크플로 자동화 워크플로
- Claude Code 팀
- builders willing to evaluate younger projects
근거
- 최근 저장소 활동
- 설치 명령 또는 GitHub 저장소를 사용할 수 있습니다
- 품질 프로필 64/100
- OpenAgentSkill 상호작용 1건
먼저 검토
- Low GitHub adoption signal
- The skill is tightly coupled to a specific Stata installation (StataNow 19.5 BE at C:\Program Files\StataNow19). This is documented but may limit portability to other environments.
구현 경로
- 1샌드박스 Agent에 설치하고 워크플로 자동화 작업을 처음부터 끝까지 한 번 실행하세요.
- 2Compare output quality, latency, and failure behavior against at least one alternative.
- 3Promote it into production only after reviewing repository permissions, license, and maintenance signals.
신뢰 프로필
샌드박스 전용
신뢰 신호가 부족하거나 혼재된 유용한 후보입니다. 결과 루프가 작업 적합성을 입증할 때까지 격리된 작업 공간에서 사용하세요.
GitHub 채택도
확인GitHub 스타 47
스타/포크 활동
확인스타 47, 포크 0; 현재 메타데이터에서 이슈 활동을 확인할 수 없습니다
최근 유지보수
통과오늘 푸시됨
라이선스 명확성
통과MIT
긍정 신호
- AI 검토 승인됨
- 설치 경로를 사용할 수 있습니다
- 저장소 근거를 사용할 수 있습니다
- 최근 유지보수된 저장소
- 설치 명령에서 뚜렷한 고위험 패턴이 발견되지 않았습니다
- 결과 루프는 준비되었지만 첫 실제 Agent 실행이 필요합니다
설치 전 검토
- The skill is tightly coupled to a specific Stata installation (StataNow 19.5 BE at C:\Program Files\StataNow19). This is documented but may limit portability to other environments.
- Financial research output is not financial advice; require human review before any live investment decision.
- Low GitHub adoption signal
- Quality score needs review
- Permission surface needs review: shell or command execution, filesystem or document access
- GitHub adoption: 47 GitHub stars
- Stars/forks activity: 47 stars, 0 forks; issue activity unavailable in current metadata
- Permission surface: shell or command execution, filesystem or document access
- 아직 실제 Agent 결과 보고서가 없습니다
- 무인 설치 전에 사람 검토가 필요합니다
권장 작업
실제 작업에 사용하기 전 샌드박스에서만 실행하고 유사 대안과 비교하세요.
품질 프로필
유망 Agent 워크플로용 후보
유용한 후보이지만 채택 전에 대안과 비교하세요.
워크플로 적합도
이 스킬을 사용할 시나리오
Automate repeated work
Workflow automation
I need my agent to automate a repeated workflow across tools and files.
Investigate faster
Research agents
I need my agent to research a topic, compare sources, and produce a concise report.
Operate local tools
Local desktop
I need my agent to operate local files and desktop apps in a repeatable workflow.
워크플로 적합도
완전한 워크플로에 추가
Turn skills into distribution
Content growth agent
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Find, compare, and synthesize
Research report agent
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Design, build, test, and ship interfaces
Frontend and UI
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
대안 후보
설치 전 비교
이 작업에 적합할 수 있는 유사 스킬입니다.
UI-TARS Desktop
Run multimodal agents that operate desktop interfaces
MoneyPrinterTurbo
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
Cua
Open-source infrastructure for Computer-Use Agents. Sandboxes, SDKs, and benchmarks to train and evaluate AI agents that can control full desktops (macOS, Linux, Windows).
개요
--- name: stata description: >- Use this skill whenever the user asks to run Stata commands, estimate econometric models, work with .dta files, run a .do file, generate Stata output, or do any statistical analysis where Stata is involved. Also trigger when the user mentions Stata variables, Stata syntax, or econometric tasks where Stata is the natural tool, including regressions, IV estimation, diff-in-diff, RDD, panel data, clustering, summary statistics, and margins. Stata runs through pystata on StataNow 19.5 BE; configure once with stata_setup, then drive everything with stata.run() and exchange data directly with pandas. Prefer this skill over subprocess calls or .do-file shelling for Stata work, including cases where the user does not say pystata. ---
# Stata Skill — pystata on StataNow 19.5 BE
Run Stata entirely through **pystata**, the official Python integration that ships with Stata. Configure the session once, then issue every command — and run every `.do` file — with `stata.run()`. Data crosses between Python and Stata in memory through pandas, so there is no need to write intermediate `.dta` files or read `.log` files unless the user wants them.
## The one rule that matters most
**Always execute Stata through pystata.** Both individual commands and entire `.do` files go through `stata.run(...)`. Never launch `StataBE-64.exe` as a subprocess and never run a do-file in batch mode — pystata keeps a single live Stata session in the Python process, gives direct access to data and stored results, and raises real Python exceptions on errors. Running a do-file is just `stata.run('do "path/to/file.do"')`.
## Setup
This machine has **StataNow 19.5 BE** at `C:\Program Files\StataNow19`, and it is already on PATH. `pystata` and `stata_setup` are installed for the system Python (3.14). Basic Edition (BE) is the only licensed edition; `"se"` and `"mp"` cannot be initialized.
Configure once per Python process:
```python import stata_setup stata_setup.config(r"C:\Program Files\StataNow19", "be") from pystata import stata ```
For clean output without the StataCorp splash banner, drive `pystata.config` directly instead:
```python import sys sys.path.insert(0, r"C:\Program Files\StataNow19\utilities") import pystata pystata.config.init("be", splash=False) from pystata import stata ```
`config.init` can run only once per process; to start over, launch a fresh Python process.
## Bundled helper (optional)
`scripts/stata_runner.py` removes the boilerplate: it bakes in the path and edition, configures pystata lazily on first use, and wraps command-running, output capture, and data exchange. Reach for it when a script makes several Stata calls.
```python import os import sys sys.path.insert(0, os.path.expanduser("~/.claude/skills/stata/scripts")) import stata_runner as sr
sr.run("sysuse auto, clear") log = sr.run("regress price mpg weight, robust", capture=True) print(log) print("R-squared:", sr.ereturn()["e(r2)"]) ```
The plain three-line pattern above works just as well; the helper is a convenience, not a requirement.
## Running commands
```python stata.run(""" sysuse auto, clear summarize price mpg weight regress price mpg weight i.foreign, robust """) ```
`stata.run(cmd, quietly=False, echo=False)` accepts one command or several newline-separated commands. `quietly=True` suppresses output while still storing results; `echo=True` echoes each command line.
## Capturing output
Output prints to stdout by default. To capture it as a string, redirect stdout:
```python import io, contextlib buf = io.StringIO() with contextlib.redirect_stdout(buf): stata.run("regress price mpg weight, robust") log = buf.getvalue() ```
For a persistent `.log` on disk, tee through `set_output_file` — see `references/pystata-api.md`.
## Error handling
A failing command **raises `SystemError`**, with a message ending in the Stata return code such as `r(111);`. Catch it directly; there is no log to parse.
```python try: stata.run("regress price nonexistent_var") except SystemError as e: print("Stata error:", e) # ".. variable nonexistent_var not found r(111);" ```
Common codes: `r(111)` variable not found, `r(198)` syntax error, `r(601)` file not found, `r(2000)` no observations.
## Data exchange with pandas
Move data in memory — no `.dta` files needed.
```python import pandas as pd
# pandas -> Stata (replaces the dataset in memory) stata.pdataframe_to_data(df, force=True)
# Stata -> pandas df = stata.pdataframe_from_data() # whole dataset prices = stata.pdataframe_from_data(var=["price", "mpg"]) labeled = stata.pdataframe_from_data(valuelabel=True) # labels, not codes ```
Named **frames** let several datasets coexist: `stata.pdataframe_to_frame(df, "aux")` and `stata.pdataframe_from_frame("aux")`. `numpy` arrays have the parallel `nparray_*` calls. Full options are in `references/pystata-api.md`.
If the user explicitly wants a `.dta` artifact, write one from Stata (`save "out.dta", replace`) or from pandas (`df.to_stata("out.dta")`).
## Reading stored results
After any command the stored results are plain Python dicts:
```python stata.run("summarize price", quietly=True) r = stata.get_return() # {'r(mean)': 6165.26, 'r(N)': 74.0, ...}
stata.run("regress price mpg weight", quietly=True) e = stata.get_ereturn() # {'e(N)': 74.0, 'e(r2)': 0.4996, 'e(b)': <ndarray>, ...} ```
Scalars are floats, macros are strings, and matrices (`e(b)`, `e(V)`) come back as numpy arrays. For single values inside `python:` blocks, the bundled `sfi` module exposes `Scalar`, `Macro`, `Matrix`, and `Data` — see the reference.
## Running an existing .do file
```python stata.run('do "C:/path/to/analysis.do"') ```
Capture its output with the same `redirect_stdout` pattern if the user wants the log. The do-file shares the live session, so any data or results it leaves behind are immediately reachable from Python.
## BE edition constraints
StataNow 19.5 BE differs from SE/MP:
- **Variable ceiling of 2048** (`c(maxvar)`); SE allows 32,767 and MP up to 120,000. Trim wide datasets with `keep`/`drop` before loading, or the load fails. - **Single computational core** for estimation — BE has no MP parallelism, so very large models run slower. - **`set matsize` is irrelevant** — it was removed in Stata 16; matrix size is managed automatically. Do not reintroduce it. - Most commands run unchanged in BE; the practical limits are dataset width and speed, not command availability.
## Stata 19 capabilities (absent in the old Stata 16 setup)
Because this is Stata 19, several things the previous version could not do are now available:
- **`didregress` / `xtdidregress`** for difference-in-differences (introduced in Stata 17). For the user's applied-micro work, still prefer `reghdfe` for high-dimensional or staggered-adoption designs; reach for modern estimators (`csdid`, `did_multiplegt`) when treatment timing varies. - **`python:` blocks** inside do-files, with `sfi` for reading and writing Stata objects from Python. - **Frames** with full Python integration, as shown above.
## Econometric workflow conventions
These reflect the user's applied-microeconomics practice. Follow them unless the user says otherwise.
**Standard errors.** Default to robust (`, robust`) for cross-sectional regressions. For panel data, cluster at the unit level (`, vce(cluster panelid)`). Honor any clustering variable the user specifies. When the clustering level is genuinely ambiguous, ask, because it is a consequential choice.
**Estimation.** For IV use `ivregress` and always report the first-stage F-statistic (`estat firststage` after `ivregress 2sls`). For high-dimensional fixed effects prefer `reghdfe` (`reghdfe y x, absorb(id year) cluster(id)`); for simpler panels `xtreg` or `areg` are fine, and always `xtset` before `xtreg`.
**Output.** For side-by-side specifications use `esttab` from the `estout` package; do not use `outreg2`. Display N and R-squared prominently.
**Data inspection.** On an unfamiliar dataset run `describe`, `summarize`, and `codebook, compact` first, and flag missing values, string-encoded numerics, and duplicate ID values.
User-written commands (`reghdfe`, `ftools`, `estout`, `csdid`) install with `ssc install <pkg>` from inside a `stata.run(...)` call. Check availability with `which <cmd>` before assuming a package is present.
## Troubleshooting
| Symptom | Likely cause | Fix | |---|---|---| | `FileNotFoundError: ... shared library` on `init("se"/"mp")` | Only BE is installed/licensed | Initialize with `"be"` | | `init` raises "already initialized" | `config.init` called twice in one process | Guard with `pystata.config.is_stata_initialized()`, or use a fresh process | | `SystemError: ... r(111);` | Stata command error (here, variable not found) | Read the code in the message; fix the command | | Output is empty when captured | Command run with `quietly=True` | Drop `quietly`, or read results via `get_return()`/`get_ereturn()` | | Load fails on a wide dataset | Exceeds BE's 2048-variable ceiling | `keep`/`drop` columns before `pdataframe_to_data` | | `unrecognized command` for a user package | Not installed | `stata.run("ssc install <pkg>")`, then retry |
## What this skill does not do
- It does not launch a Stata GUI window. - It does not call `StataBE-64.exe` as a subprocess or run do-files in batch mode — everything goes through pystata's live session. - It does not leave permanent `.do` files for the user to run by hand unless they ask for one.
기술 세부 사항
- 버전
- 1.0.0
- 라이선스
- MIT
- 최근 업데이트
- 2026년 8월 24일
- 게시일
- 2026년 8월 24일
결정 스냅샷
대체 후보
최근 저장소 활동
Agent 검증 증거
Agent 검증 증거
Resolve, 검토, 설치 및 한 번의 제한된 실행 후 결과 보고서입니다.
- 성공률
- —
- 최근 실패
- —
- 결과
- 0
- 출력 품질
- —
- 실패
- 0
- 관련 없음
- 0
- 설치
- 0
- 위험 차단
- 0
- 설정 필요
- 0
- 프로덕션
- 0
아직 Agent 결과 데이터가 없습니다. 첫 실행은 /api/agent/outcome을 통해 성공, 설정 필요, 위험 차단, 실패 또는 비관련 결과를 보고할 수 있습니다.
성장 루프
공유 키트
stata용 시나리오 기반 초안입니다. X에 수동으로 게시할 수 있습니다.
A practical pick for a repeatable workflow: stata: >- 47 stars https://www.openagentskill.com/skills/kennethkhoocy-stata?ref=x
선택 사항: 설치 명령이 포함된 답글
Listing + install path for stata: https://www.openagentskill.com/skills/kennethkhoocy-stata?ref=x Install: npx skills add kennethkhoocy/applied-micro-skills --skill stata
등록 출처
Registry 색인
이 등록은 공개 소스에서 색인되었으며 유지보수자 소유권 주장이 승인될 때까지 공식으로 표시되지 않습니다.
- 색인 주체
- OpenAgentSkill 커뮤니티 인덱스
귀속은 공개 저장소 또는 제작자 프로필에 연결됩니다. 제작자는 등록을 주장하여 소유권 신호를 업데이트할 수 있습니다.
이 스킬 소유권 주장소유자 소유권 주장
이 스킬 등록 소유권 주장
이 Registry 색인 등록은 kennethkhoocy에게 귀속되어 있지만 아직 공식으로 표시되지 않았습니다. 소유권을 주장하면 확인된 소유자 신호가 추가되어 이후 출시, 설치 및 감사 업데이트를 더 신뢰할 수 있습니다.
크리에이터 백링크 키트
README에 증거 배지 추가
개발자가 저장소를 평가하는 위치에 정규 등록, 현재 신뢰 및 감사 신호, 실제 Agent-Proven 증거를 표시합니다.
[](https://www.openagentskill.com/skills/kennethkhoocy-stata)
[](https://www.openagentskill.com/skills/kennethkhoocy-stata)
[](https://www.openagentskill.com/skills/kennethkhoocy-stata/audit)
[](https://www.openagentskill.com/skills/kennethkhoocy-stata)작성자
kennethkhoocy
@kennethkhoocy
플랫폼 적합도
상태 신호
- GitHub 스타
- 47
- 품질 점수
- 35/100
- 최근 GitHub 푸시
- 2026년 8월 24일
- 프레임워크 힌트
- 알 수 없음
- OpenAgentSkill 조회수
- 1
- 설치 명령 복사
- 0
- 외부 클릭
- 0
커뮤니티 신호
이 스킬이 Agent 워크플로에 유용한지 알려 주세요. 집계된 피드백은 시간이 지날수록 순위를 개선합니다.
신뢰와 안전
샌드박스 전용
- GitHub 채택도GitHub 스타 47확인
- 스타/포크 활동스타 47, 포크 0; 현재 메타데이터에서 이슈 활동을 확인할 수 없습니다확인
- 최근 유지보수오늘 푸시됨통과
- 라이선스 명확성MIT통과
- README/SKILL.md 완성도공개 메타데이터에 더 충실한 README/SKILL.md 맥락이 필요합니다정보
- 의존성/런타임 위험command execution surface, network or browser surface정보
관련 스킬
UI-TARS Desktop
Run multimodal agents that operate desktop interfaces
37.0K 스타MoneyPrinterTurbo
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
88.5K 스타Cua
Open-source infrastructure for Computer-Use Agents. Sandboxes, SDKs, and benchmarks to train and evaluate AI agents that can control full desktops (macOS, Linux, Windows).
21.4K 스타