본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트58k · #3235

cli-anything-openrefine

하는 일

이 스킬은 AI 에이전트가 데이터 정리 도구 OpenRefine으로 어수선한 표를 고치고 다시 구성하도록 합니다. 지저분한 목록, 내보낸 파일, 스프레드시트를 정리해야 하는 누구에게나 맞습니다.

사용하는 경우

  • ✓이름에 불필요한 공백이 있거나 값이 중복된 CSV 파일을 고쳐야 할 때.
  • ✓저장해 둔 작업 파일로 같은 정리 단계를 새 데이터에 반복하고 싶을 때.
  • ✓정리 작업 중 바꾼 내용을 되돌리거나 다시 적용해야 할 때.

스킬 링크

https://github.com/HKUDS/CLI-Anything/blob/main/openrefine/agent-harness/cli_anything/openrefine/skills/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/HKUDS/CLI-Anything/blob/main/openrefine/agent-harness/cli_anything/openrefine/skills/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“고객 CSV 파일의 이름 열에서 공백을 다듬고, 다시 내보내 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트가 파일을 OpenRefine으로 가져오고, 저장된 정리 단계를 적용한 뒤 결과를 내보냅니다. 변경 내역을 기록해 되돌리기와 다시 실행이 가능하게 합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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:

cd openrefine/agent-harness
python -m pip install -e .

Start OpenRefine before backend commands:

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

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:

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.

자주 묻는 질문

OpenRefine이 실행 중이어야 하나요?

네. 스킬이 사용하기 전에 컴퓨터에서 OpenRefine을 먼저 시작해야 합니다.

정리 단계를 재사용할 수 있나요?

네. OpenRefine의 작업 기록 파일을 다른 데이터에도 적용할 수 있습니다.

어떤 파일 형식으로 내보낼 수 있나요?

정리된 데이터를 CSV나 TSV 파일로 내보냅니다.

상세 정보

작성자의 원본 설명

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.

repo: HKUDS/CLI-Anything

인기도

GitHub 스타
58k
순위
#3235
라이선스
Apache-2.0
업데이트
2026. 9. 21.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬