소스 정보
- 저장소
- e10nMa2k/cc-mini
- 최근 소스 활동
- 2026년 5월 18일 10:02
- 감지된 SKILL.md 언어
- 영어
- 스타
- 956
- 포크
- 357
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/e10nMa2k/cc-mini --skill citorigin명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | citorigin |
| description | Run, inspect, and explain CitOrigin evidence-to-claim audit workflows. |
| context | inline |
| allowed-tools | Bash, Read, Grep, Glob |
| arguments | task |
User request:
${task}
Execute the user request now. This is not a request to describe the skill.
Use this skill for CitOrigin run, inspect, debug, visualize, and explain workflows.
CitOrigin is an audit tool, not a generation tool. The main workflow is:
shapley: exact full-subset attributiondrop_hold_per_unit: SelfCite-style diagnostics with drop, hold, and selfcite_rewardshapley,drop_hold_per_unit: output bothDo not answer with a generic readiness message. If the request already names a workflow, file, example id, or output path, complete that task in this turn.
Assume the current working directory is the CitOrigin project root.
Use the active Python environment. Prefer:
PYTHONPATH=src python -m citorigin.cli ...
If the project is already installed in the environment, python -m citorigin.cli ...
also works.
Use relative paths from the repository root. Do not assume any machine-specific absolute paths.
Read $ARGUMENTS and choose the closest workflow:
input-path, documents, claims, evidence blocks.documents.json plus a claims file.生成可视化 html.If the requested workflow would overwrite an existing output file, choose a new timestamped or descriptive output path unless the user explicitly asked to overwrite.
When the user asks for the main CitOrigin workflow, interpret it as:
Use one of these three inputs:
score-claimscore-claim-from-filesscore-claims-from-exampleshapley
attribution.shapley_values, support_strength, weakly_groundeddrop_hold_per_unit
drop_from_full, hold_vs_empty, selfcite_rewardshapley,drop_hold_per_unit
If the user does not specify, default to:
shapley
After scoring, use:
scripts/build_attribution_reader_demo.py
This HTML builder supports:
score-claimscore-claims-from-exampleaudit_outputs.drop_hold_per_unit is present:
ShapleySelfCite-styleHoldDropUse this when the user provides a JSON payload or wants to score externally provided evidence blocks and claims.
Expected payload shape:
{
"question": "optional string",
"claim_text": "required string",
"documents": [
{
"doc_id": "d1",
"title": "optional string",
"content": "required string"
}
]
}
Run:
PYTHONPATH=src python \
-m citorigin.cli score-claim \
--provider <local_or_api> \
--audit-methods <audit_methods> \
--input-path <payload_json_path> \
--output-path <result_json_path>
If --provider local, include:
--model-path <model_path> --generator-backend transformers --device-map auto --torch-dtype bfloat16
If --provider api, include:
--api-config-path ./api_config.env
Use this when the user gives one claim text plus evidence files.
Supported evidence inputs:
--pdf-path--txt-path--doc-json-pathRun:
PYTHONPATH=src python \
-m citorigin.cli score-claim-from-files \
--provider <local_or_api> \
--audit-methods <audit_methods> \
--claim-text "<claim_text>" \
--question "<optional question>" \
--pdf-path <pdf1> \
--pdf-path <pdf2> \
--doc-json-path <json1> \
--output-path <result_json_path>
Use this workflow when the user talks about:
Use this when the user has multiple claims plus documents packaged under one folder.
Expected example directory contents:
*.pdf, ordocuments.jsonClaims input:
claims.json, orRun:
PYTHONPATH=src python \
-m citorigin.cli score-claims-from-example \
--provider <local_or_api> \
--audit-methods <audit_methods> \
--example-dir <example_dir> \
--claims-path <claims_json_path> \
--output-path <result_json_path>
This is the best workflow when the user says:
Use this whenever the user asks for:
生成可视化 htmlRun:
python scripts/build_attribution_reader_demo.py \
--result-path <result_json_path> \
--claims-path <claims_json_path_if_needed> \
--output-html <output_html_path>
If the result JSON is from:
score-claim
claims-path is optionalscore-claims-from-example
After generation, report both paths:
Use this when the user asks to explain or compare results.
If the result contains attribution, summarize:
shapley_valuesnormalized_shapley_valuessupport_strengthweakly_groundeddominant_segmentsIf the result contains audit_outputs.drop_hold_per_unit, summarize:
drop_from_fullhold_vs_emptyselfcite_rewardWhen comparing methods:
selfcite_reward = drop + holdUse this when $ARGUMENTS includes project status, scope, handoff, or what is this project.
Read if present and relevant:
PROJECT_STATUS.md
README.md
README_EN.md
docs/project_framing_and_evaluation_cn.md
Summarize:
api_config.env.