Agents & OrchestrationSûr100100/100
Check Trajectories Workflow (Hugging Face)
Use Inspect Scout to analyze agent trajectories from evaluation log files. Runs default and custom scanners to detect external failures, formatting issues, reward hacking, and ethical refusals. Use when user asks to check/analyze agent trajectories. Trigger when the user asks you to run the "Check Agent Trajectories" workflow.
ou envoie-le directement à ton agent.
Installer dans ton projet
$ curl -fsSL https://arboristhree.xyz/cli/install-skill.mjs -o /tmp/arboris-install-skill.mjs && node /tmp/arboris-install-skill.mjs check-trajectories-workflow__huggingface-inspect-evals__claude-skills-34c41384f4aeHugging Face
huggingface/inspect-evals
Contenu à copier
---
name: check-trajectories-workflow
description: Use Inspect Scout to analyze agent trajectories from evaluation log files. Runs default and custom scanners to detect external failures, formatting issues, reward hacking, and ethical refusals. Use when user asks to check/analyze agent trajectories. Trigger when the user asks you to run the "Check Agent Trajectories" workflow.
metadata:
origin: Hugging Face
---
# Check Agent Trajectories
This workflow uses Inspect Scout to automatically analyze agent trajectories. It's faster than manual analysis but may miss nuanced issues.
## Workflow Steps
1. If the user does not give any indication of what log file to use, ask them for which log file or files they want the workflow performed on. You can show them the most recent log file in logs/ and ask them if that's what they want.
2. Determine the name of the evaluation the log file is used in, and create a folder titled `agent_artefacts/trajectory_analysis/<eval_name>`. Add a number to the end if the folder already exists.
3. Read agent_artefacts/trajectory_analysis/inspect_scout/scanners.py to see what the default scanners check for:
a. **outcome_summary**: Brief summary of why the agent succeeded or failed.
b. **external_failure**: Failed due to CAPTCHAs, rate limiting, network issues, missing dependencies.
c. **formatting_failure**: Failed due to incorrect answer formatting despite correct answer.
d. **reward_hacking_success**: Succeeded through reward hacking or unintended means.
e. **ethical_refusal**: Failed because the agent refused on ethical or safety grounds.
Additionally, if `agent_artefacts/trajectory_analysis/<eval_name><version>` exists already, check for any scanners contained in the latest version and include those.
4. Tell the user what will be checked by default and ask if they want to check for anything else.
5. If the user wants additional checks, create an eval_scanners.py file under `agent_artefacts/trajectory_analysis/<eval_name>/`, and add Inspect Scout scanners that check for their requirements. Use the existing scanners in `agent_artefacts/trajectory_analysis/inspect_scout/scanners.py` and the [Inspect Scout documentation](https://meridianlabs-ai.github.io/inspect_scout/) as references. Copy any scanners found in the eval_name folder at the end of Step 2 across as well.
Each custom scanner should be wrapped in an `InspectEvalScanner` object and added to a `SCANNERS` list:
```python
from scanners import InspectEvalScanner
SCANNERS = [
InspectEvalScanner(
name="my_scanner",
scanner_factory=my_scanner_function,
invalidates_success=False, # Set True if flagging invalidates a success
invalidates_failure=True, # Set True if flagging invalidates a failure
),
]
```
Ask the user whether each scanner should invalidate successes, failures, both, or neither.
6. Check how many samples are in the log file with `uv run python agent_artefacts/trajectory_analysis/inspect_scout/run_all_scanners.py <log_file> --dry-run`. If more than 100 samples would be analysed, ask the user if they want to run all samples or a subset. Tell them that Inspect Evals guidance is to run at least 100 samples, and ask them if they want to run any more than that.
7. Provide the user the command they can use to run the scanners. If the user asks you to run it, you can do so.
a. If no custom scanners: `uv run python agent_artefacts/trajectory_analysis/inspect_scout/run_all_scanners.py <log_file> -o agent_artefacts/trajectory_analysis/<eval_name>/scout_results` with an optional `--limit <num>` if a subset is run.
b. If custom scanners were created in step 4, add `-n <eval_name>` like so: `uv run python agent_artefacts/trajectory_analysis/inspect_scout/run_all_scanners.py <log_file> -n <eval_name> -o agent_artefacts/trajectory_analysis/<eval_name>/scout_results`
The `-n <eval_name>` option automatically loads scanners from `agent_artefacts/trajectory_analysis/<eval_name>/eval_scanners.py`. Duplicate scanner names are detected and skipped with a warning.
8. Once the command is done, extract the results: `uv run python agent_artefacts/trajectory_analysis/inspect_scout/extract_results.py agent_artefacts/trajectory_analysis/<eval_name>/scout_results`
9. Analyze sample validity: `uv run python agent_artefacts/trajectory_analysis/inspect_scout/analyze_validity.py agent_artefacts/trajectory_analysis/<eval_name>/scout_results`
10. Review the extracted results and create a summary in `<eval_name>_<model_name>_ANALYSIS.md`. If the file already exists, check to see if the user wants it overwritten or a new file generated by date. If the user wants it generated by date, use `<eval_name>_<model_name>_<date>_ANALYSIS.md`.
11. Tell the user the task is done.Colle ce Markdown dans ton agent ou utilise les boutons ci-dessus pour l’écrire dans ton projet.
Ce que fait Check Trajectories Workflow (Hugging Face)
Applique les pratiques du skill check-trajectories-workflow__huggingface-inspect-evals__claude-skills-34c41384f4ae.
Comment utiliser Check Trajectories Workflow (Hugging Face)
1
Copie le prompt
Un clic copie le prompt packagé (ou l'envoie à ton agent).
2
L'agent installe le skill
Il ajoute le SKILL.md et ses ressources à ton projet.
3
Activation automatique
Le skill s'active dès que le contexte correspond.
Déclencheurs pour Check Trajectories Workflow (Hugging Face)
Dis simplement à ton agent quelque chose comme :
Applique le skill check-trajectories-workflow__huggingface-inspect-evals__claude-skills-34c41384f4ae à cette tâche
Utilise check-trajectories-workflow__huggingface-inspect-evals__claude-skills-34c41384f4ae pour améliorer cette implémentation
Passe en revue ce sujet avec check-trajectories-workflow__huggingface-inspect-evals__claude-skills-34c41384f4ae
Skills liés à Check Trajectories Workflow (Hugging Face)
Acceleration (Microsoft)
Compare synthetic acceleration options and clearly separate scenario value from forecast commitments.Account Overview (Microsoft)
Create a synthetic Acme account overview and identify evidence that merits seller attention.Acroform Writer (Microsoft)
Use this skill whenever the user wants values written INTO an existing PDF form that lives in the connected SharePoint knowledge source — filling out, completing, populating, or submitting a fillable PDF (application, intake sheet, contract, government form) from data they supply, a spreadsheet row, or the conversation. Triggers include "fill out the job application form", "complete the intake form for [person]", "populate our standard NDA template", and "make this ready to send / non-editable" (flatten). The source form should be found via knowledge search; only ask the user to upload it if knowledge search turns up nothing plausible. different task), and do NOT use it on scanned/image-only PDFs that have no real fillable fields — those need OCR or manual overlay instead, which this skill explicitly detects and reports rather than silently failing.