score-optimizer
Original:🇨🇳 Chinese
Translated
3 scriptsChecked / no sensitive code detected
Use when the user wants to iterate on a viral-article scoring system itself, calibrate or improve a scoring prompt against labeled samples, or run batch scoring experiments on a fixed article set. Best for prompt-only scoring research where the evaluator scripts stay fixed and only the scoring rubric/prompt is meant to evolve.
8installs
Added on
NPX Install
npx skill4agent add xiaomoboy/claude-writing-skills score-optimizerTags
Translated version includes tags in frontmatterSKILL.md Content (Chinese)
View Translation Comparison →Score Optimizer
This skill only does one thing: optimize the article scoring system itself.
It is suitable for:
- Adjusting viral article scoring prompts
- Batch scoring sample article collections
- Evaluating scoring accuracy against labeled data
- Researching whether scoring dimensions, weights, and few-shot examples are more reasonable
It is NOT responsible for:
- Directly modifying article content
- Platform rewriting
- Publishing and packaging
Working Scope
Applicable scenarios:
- When the user says "optimize the article scoring prompt"
- When the user says "make this viral scoring system more accurate"
- When the user says "run a round of sample article collection scoring experiments"
- When the user says "calibrate the scoring rules for viral score / composite score"
Inapplicable scenarios:
- When the user says "directly modify this article to get a higher score"
- When the user says "optimize article content according to this scorer"
The latter should use instead.
article-optimizerRequired Reads
Read these before starting:
- references/score_program.md
- references/score_prompt.md
Read these when needing to check implementations:
- scripts/run_scoring.py
- scripts/evaluate.py
- assets/articles/labels.example.json —— Label schema example
Sample article collection location (provided by the user, this skill does not include samples):
- —— Place your own labeled .md articles here, then
assets/articles/samples/and fill in your scores. See details in assets/articles/samples/README.mdcp labels.example.json labels.json
Workflow
- First confirm that the current task is optimizing the scorer, not modifying articles.
- Read and execute according to its experimental constraints.
references/score_program.md - By default, only modify ; do not touch the evaluation scripts.
references/score_prompt.md - Run the batch scoring script, then run the evaluation script.
- Compare ,
composite_score,mae,spearman.classification - Record the results and decide whether to keep or roll back.
Commands
Execute in the skill root directory:
bash
python3 scripts/run_scoring.py > scoring.log 2>&1
python3 scripts/evaluate.py > eval.log 2>&1
grep "^composite_score:\|^mae:\|^spearman:\|^classification:" eval.logIf charts are needed:
bash
python3 scripts/generate_score_chart.pyGuardrails
- Do not modify by default
scripts/evaluate.py - Do not modify by default
scripts/run_scoring.py - Do not install new dependencies by default
- Do not use this skill if you only want to increase the score of a single article