Agent skill
hf-job-logs
View logs from a Hugging Face training job
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/hf-job-logs
SKILL.md
HF Job Logs
View the training logs from a job running on Hugging Face cloud GPUs.
How to Use
$CLAUDE_CONFIG_DIR/skills/hf-job-logs/scripts/hf-job-logs.sh <job_id> [tail_lines]
Arguments
| Argument | Description | Default | Example |
|---|---|---|---|
job_id |
The job ID from hf-job-submit | required | job_abc123 |
tail_lines |
Number of lines to show | 50 | 100 |
Prerequisites
HF_TOKENenvironment variable must be set
Output
Returns the training logs, including:
- Training progress (loss, learning rate)
- Epoch/step information
- Errors and warnings
- Final results
Example
# Show last 50 lines (default)
$CLAUDE_CONFIG_DIR/skills/hf-job-logs/scripts/hf-job-logs.sh job_abc123
# Show last 100 lines
$CLAUDE_CONFIG_DIR/skills/hf-job-logs/scripts/hf-job-logs.sh job_abc123 100
Output:
[2024-01-15 10:30:15] Starting training...
[2024-01-15 10:30:20] Epoch 1/3, Step 10/100, Loss: 2.345
[2024-01-15 10:30:25] Epoch 1/3, Step 20/100, Loss: 2.123
...
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?