Skip to main content

cli-anything-openrefine

Use OpenRefine through an agent-native CLI for importing messy data, applying JSON operation histories, inspecting rows, exporting cleaned data, and managing session undo/redo.

설치로 이동

소스 정보

저장소
HKUDS/CLI-Anything
최근 소스 활동
2026년 8월 3일 08:40
감지된 SKILL.md 언어
영어
스타
50,749
포크
4,639

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
cli-anything-openrefine
description
Use OpenRefine through an agent-native CLI for importing messy data, applying JSON operation histories, inspecting rows, exporting cleaned data, and managing session undo/redo.
contributor
CLI-Anything-Team
# CLI-Anything OpenRefine Use this skill when a task needs OpenRefine data cleaning, transformation, reusable operation histories, or CSV/TSV export from an automated agent workflow. ## Prerequisites Install the harness: ```bash cd openrefine/agent-harness python -m pip install -e . ``` Start OpenRefine before backend commands: ```bash openrefine -i 127.0.0.1 -p 3333 ``` Set a custom server with `OPENREFINE_URL=http://127.0.0.1:3333` or pass `--base-url`. ## Command Rules For Agents - Prefer `--json` on every one-shot command. - Use `--session <path>` for isolated task state. - Import or open a project before row, apply, export, undo, or redo commands. - Existing OpenRefine operation-history JSON can be passed directly to `data apply`. - Generated files are normal OpenRefine operation JSON and exported CSV/TSV data. ## Common Commands ```bash cli-anything-openrefine --json server ping cli-anything-openrefine --json project list cli-anything-openrefine --json --session run/session.json project import messy.csv --name cleanup cli-anything-openrefine --json --session run/session.json data rows --limit 10 cli-anything-openrefine --json ops text-transform run/trim.json --column Name --expression 'value.trim()' cli-anything-openrefine --json --session run/session.json data apply run/trim.json cli-anything-openrefine --json --session run/session.json data export run/clean.csv --format csv cli-anything-openrefine --json --session run/session.json session undo cli-anything-openrefine --json --session run/session.json session redo ``` ## REPL Run `cli-anything-openrefine` with no subcommand to enter the REPL. For automated user journeys, pipe newline-separated REPL commands through stdin. Redirected streams automatically use an ASCII-only input/output path while interactive terminals retain the Unicode banner, prompt history, and styling: ```bash printf 'help\nexit\n' | cli-anything-openrefine ``` Unicode payloads are rendered as reversible ASCII backslash escapes when the REPL is redirected, preventing legacy Windows output encodings from turning a successful command into a failed journey. Piped workflows return a nonzero exit status at `exit` or EOF if any command failed, allowing CI to detect an unsuccessful user journey. ## Error Handling When `--json` is set, command failures write a JSON object to stderr with `ok: false`.
GitHub에서 보기