hk-local-logs
Skill by deepklarity
Inspects and debugs errors across the harness-kit monorepo by reading the log file for the failing layer. Built for developers who hit backend 500 errors, Celery task failures, or odin task problems.
Install hk-local-logs
Built from the published package, never by AI.
git clone --depth 1 https://github.com/deepklarity/harness-kit /tmp/harness-kit && mkdir -p ~/.claude/skills && cp -r /tmp/harness-kit/.claude/skills/hk-local-logs ~/.claude/skills/hk-local-logsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/deepklarity/harness-kit /tmp/harness-kit && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/harness-kit/.claude/skills/hk-local-logs ~/.gemini/antigravity-cli/skills/hk-local-logsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
hk-local-logs is a skill for inspecting and debugging errors across the harness-kit monorepo. It picks the right log file for the error layer: backend, frontend, celery, odin CLI, or odin task execution. Users can name a layer, pass a task ID, or give no argument, in which case it scans all logs for recent errors.
The skill reads log files under .dev-logs/, the taskit-backend logs folder, and the .odin/logs directory in the odin working directory. For backend 500 errors it also checks for unapplied Django migrations. It supports a --lines option and a --search pattern. It is aimed at developers working in the harness-kit repo who need to find a stack trace or a failed task quickly.
Written from the project's SKILL.md and checked against it.
What it can do
- Backend logsReads .dev-logs/backend.log and taskit_detail.log for 500 errors and startup failures.
- Frontend logsReads .dev-logs/frontend.log for TypeScript, Vite build, and module resolution errors.
- Celery logsReads .dev-logs/celery.log for task exceptions, worker losses, and broker connection failures.
- Odin run logsFormats the latest structured odin run log and checks odin_detail.log for tracebacks.
- Task outputShows raw agent output for a task by ID or ID prefix.
- Search modeGreps the relevant logs for a pattern using the --search option.
- Auto-detectScans all logs for error lines and shows the most recent error with its traceback.
- Migration checkLists unapplied Django migrations when a backend error may come from migrations.
What you need
- Bash
- A git checkout of the harness-kit monorepo
- Python 3 for the odin log formatter and Django manage.py
- Dev stack started with ./dev.sh so log files exist
Try asking
- Check the backend logs for the 500 error I just got
- Why did the celery task fail? Show the last 100 lines
- Scan all logs for recent errors and show the latest traceback
Good to know
- Reads raw log files and does not change them.
- Odin logs are read from odin/temp_test_dir, the standard working directory.
- Structured database data is handled by the separate /hk-local-diagnose skill.
- Task output lookup needs the task ID or a prefix of it.
Security check
B- Allowed to use Bash without limitsIn
SKILL.md
Checked automatically: .claude/skills/hk-local-logs/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: BashReadGrep
Alternatives to hk-local-logs
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
hk-local-logs: common questions
What does hk-local-logs read for a 500 error?
For backend errors it reads .dev-logs/backend.log and taskit_detail.log, and checks for unapplied Django migrations. The detail log holds the full exception tracebacks.
What happens if I run it with no arguments?
It runs auto-detect mode, scanning backend, celery, and odin logs for error, traceback, exception, or 500 lines and showing the most recent one.
What should I do if a log file is missing?
The skill suggests checking that the dev server is running with ./dev.sh, or that odin plan or odin exec has been run from that directory.
How do I install hk-local-logs?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is hk-local-logs free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is hk-local-logs safe to use?
It scores 67 of 100. Grades: maintenance A, licence A, quality B. Security check: grade B (allowed to use bash without limits). Review the code before you install. How grades work.
What are alternatives to hk-local-logs?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
