Lms Fix DB — Development skill for Claude Code
Diagnose and fix the LMS-TMS "Checking your session…" / DB-connectivity outage (the known firewall failure mode).
How to install Lms Fix DB
Installs to ~/.claude/commands/alfredang-ai-lms-tms-lms-fix-db.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/alfredang/AI-LMS-TMS/HEAD/.claude/commands/lms-fix-db.md -o ~/.claude/commands/alfredang-ai-lms-tms-lms-fix-db.md Restart Claude Code, or start a new session, for it to be picked up.
What Lms Fix DB does
description: Diagnose and fix the LMS-TMS "Checking your session…" / DB-connectivity outage (the known firewall failure mode).
The LMS-TMS is hanging on "Checking your session…" or otherwise can't reach its database. Diagnose and fix using the known runbook. Requires `LMS_SSH_TARGET` + `LMS_APP_CONTAINER` from `.claude/settings.local.json`.
Confirm the failure mode
curl --max-time 12 "https://${LMS_DOMAIN:-lms-tms.tertiaryinfotech.com}/api/health"— a ~15s hang or `"database":"
Alternatives in Development
- Canvas API — Canvas LMS API connection guide and MCP tools reference 2.6k ★
- Cloud Run Debug — Diagnose a failing Cloud Run service — Antigravity (agy/Gemini) digests the error logs cheaply, Claude infers 284 ★
- Fix Job — Diagnose and fix a failed VASP job, then restart it 155 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Lms Status
Quick production status snapshot of the LMS-TMS (homepage, DB readiness, response times).
Tms Push
Update the course on lms-tms.tertiaryinfotech.com — set the Trainer Slides / Learner Slides / Learner Guide /
Fix Crash
Diagnose and fix a Minecraft mod crash or build failure
Leads
Diagnose lead generation using Hormozi's Core Four (Mode 4) — Warm Outreach, Post Content, Cold Outreach, Paid
Megamaid Doctor
Report megamaid install health — venv state, MCP connectivity, and the last bootstrap failure.
Fly Vm Debugger
Diagnose and troubleshoot Fly.io VM issues including SSH connectivity, health checks, volume persistence, and
Related Agents
Lms Monitor
Autonomous production monitor for the LMS-TMS. Runs health, liveness, performance and error-log checks and app
Alfresco Debugger Agent
Given an Alfresco stack trace or log snippet, searches documentation and known issues to diagnose the root cau
Scout Diagnose
Read-only bug investigation. Given a reproduced failure and a hypothesis, finds where it fails, why, and what