alfredang

Lms Fix DB — Development skill for Claude Code

Development community

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

Terminal
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

  1. 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 Repository