koopos/hermes/agent-task-dashboard
Claude Code and agent skill by koopos/hermes
- community
Checking that the SKILL.md file is still in the repository.
Next.js dashboard for GitHub task agent workflow — project structure, known patterns, and debugging notes.
Install
npx vskill@latest install koopos/hermes/agent-task-dashboardSKILL.md
The same SKILL.md was published earlier as koopos/hermes/agent-task-dashboard.
Agent Task Dashboard
Next.js 16 (App Router, Turbopack) dashboard at /Users/koopos/AIGC/agents/agent-task-dashboard.
Tech stack
- Framework: Next.js 16.2.6 + React 19, App Router, Turbopack
- ORM: Prisma + SQLite (
prisma/dev.db) - Styling: Tailwind CSS v4, rounded-2rem design system
- Auth: GitHub via
ghCLI - Actions: Server Actions (
"use server") insrc/app/actions.ts - Git sync:
src/lib/github-sync.ts— wrapsgh repo sync+ direct git commands - Task polling: cron job
github-task-agent-pollingevery 5m (separate repo agent) - AutoRefresh:
src/components/AutoRefresh.tsx— client timer component
Project structure
Patterns
Server Action + form
Forms use action={bind(null, projectId)} pattern. Server Actions redirect after success — no router.refresh() needed in the form itself because revalidatePath is called inside the action.
Creating a task (Server Action)
GitHub sync flow
syncProjectToGitHub: write tasks to local.agent/tasks.json→ commit →gh repo syncsyncProjectFromGitHub:gh repo sync→ read.agent/tasks.json→ upsert DB- Both call
revalidatePathafter
AutoSync pattern (TIMEOUT REQUIRED)
AutoRefresh CAN call syncFromGitHub() — but ONLY with end-to-end timeout protection. Without it, git pull hanging blocks the Next.js RSC handler and crashes the page (BUG-2026-05-15).
Required layers (all three):
run()ingithub-sync.tsacceptstimeoutMs— passes toexecFileAsyncensureRepo()applies 15s timeout to every git/gh commandsyncFromGitHub()inactions.tswraps withPromise.race15s timeout
Without all three layers: git pull hangs → RSC handler blocks → page crashes → form submissions blocked → only kill -9 recovers.
Interval: 30s default (intervalMs={30000}). Task detail page uses 10s because it shows live agent output.
Cron polling vs Dashboard sync
github-task-agent-pollingcron (every 5m) runs the external agent script in a separate workdir- Dashboard "Poll once" button triggers
pollProjectOnce()which runs agent + syncs - AutoSync component (
AutoRefresh.tsx) polls GitHub every 30s and upserts DB — keeps dashboard live without waiting for cron
Commands
⚠️ syncProjectToGitHub 可靠性
syncProjectToGitHub 依赖 git push,可能因网络问题静默失败。Dashboard UI 不显示同步错误(Server Action 错误被 error boundary 吞掉)。如果 Sync to GitHub 按钮点击后页面报错但状态不变,手动检查:
Adding a new task type
- Add to
TASK_TYPESinsrc/lib/task-types.ts - Update
CreateTaskForm.tsxSIMPLE_TASK_TYPESarray if it should appear in the dropdown - Update agent script to handle the new type
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/productivity/agent-task-dashboard/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/koopos/hermes/agent-task-dashboard)