AI Agent Hub
Back to skills
GMP Pharmaceutical Compliance Self-Check icon

GMP Pharmaceutical Compliance Self-Check

Professional Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md to install @user_a16b2e76/gmp-gxp

About this skill

Problem

After pharma IT plans go live, they may still lack auditable GMP evidence: audit trails disabled, shared accounts, missing CSV documentation, CAPA not closed, and backups not rehearsed. Manual document reviews are slow and dependent on reviewer experience.

How It Works

The skill turns GMP compliance checking into a maintainable baseline plus rule-based scanning:
- The built-in baseline includes 10 compliance domains and 20 check items, covering ALCOA+, CSV, audit trails, e-signatures, batch traceability, change control, CAPA, and backup/recovery.
- review.py scans target text with keyword and rule matching, then outputs a coverage score, risk level, and remediation advice.
- generate_report.py can generate an HTML health-check report with a print button; webapp.py provides a self-service page where customers upload materials, generate reports, and leave lead information.
- Optionally, an OpenAI-compatible endpoint can perform semantic confirmation for missing or partially covered items, automatically falling back to pure rules if unavailable.

Boundaries

It is a keyword/substring rule scanner, not a general LLM reviewer: if a document uses alternate terminology not present in the baseline keyword list, items may be missed. Accepted input is limited to .txt and .md, with a 3MB per-upload limit. webapp.py is a lightweight service without login or database, so public deployment requires HTTPS, access control, rate limiting, and privacy notices. The baseline can be extended per customer, with an independent gmp_requirements.md for each account.

Use Cases

  • QA leads use it before go-live to check whether a MES/LIMS plan covers audit trails, e-signatures, CSV, and 21 CFR Part 11.
  • Presales consultants review a client bid document for GMP gaps and produce a risk-based remediation list including CAPA closure and batch traceability.
  • Quality engineers check data integrity and CAPA closure against ALCOA+ before approving a pharma IT solution for ERP, LIMS, or MES rollouts.
  • Consultants batch-scan client documents, generate client-ready HTML GMP reports, and capture follow-up email leads from a free self-service compliance intake page.

Best For

  • Pharma QA engineers who need to verify audit trails, e-signatures, and CSV coverage before MES/LIMS go-live.
  • Pharma solution architects who must turn GMP gaps in client IT plans into actionable remediation lists.
  • GMP consultants who need client-ready HTML compliance reports and high-risk domain identification quickly.
  • Pharma presales or sales teams who need a self-service page for clients to upload plans and leave leads.