cht-specialist

Provide expert guidance on Community Health Toolkit development, configuration, and troubleshooting.

1|2|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/medic/cht-ai-tools --skill cht-specialist
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cht-specialist
Source: https://github.com/medic/cht-ai-tools/tree/main/skills/cht-specialist
Command: npx skills add https://github.com/medic/cht-ai-tools --skill cht-specialist

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides comprehensive expert assistance for all aspects of Community Health Toolkit (CHT) development, configuration, and troubleshooting, eliminating the need to sift through extensive documentation for common issues.

Core Features & Use Cases

  • Form Development: Get detailed guidance on XLSForm syntax, CHT widgets, and XPath functions.
  • Configuration: Understand and implement tasks.js, targets.js, contact-summary, and app_settings.json.
  • Troubleshooting: Diagnose and resolve common CHT application issues related to data, tasks, or deployment.
  • Use Case: A developer needs to implement a new task that triggers 7 days after a specific report is submitted. They can ask the Skill for the correct tasks.js syntax and relevant resolvedIf conditions.

Quick Start

Ask the cht specialist skill for help with CHT form development best practices.

Frequently Asked Questions about cht-specialist

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure tasks.js in Community Health Toolkit to trigger a schedule after a report?

To configure tasks.js in Community Health Toolkit, define the trigger schedule using specific syntax and establish resolvedIf conditions to determine when the task resolves. This Skill provides exact patterns for scheduling tasks post-report submission.

What is the correct XLSForm syntax for building CHT application forms?

Correct XLSForm syntax for CHT applications involves using standard XLSForm structures alongside CHT-specific widgets and XPath functions. This Skill guides you through exact syntax rules and widget implementations for proper form development.

How do I deploy a CHT application using Docker and cht-conf CLI?

Deploying a CHT application requires using Docker for containerized deployment environments and cht-conf CLI for configuration management. This Skill outlines the necessary steps and architecture for successful CHT deployments.

Why are my CHT targets not resolving correctly in app_settings.json?

CHT targets fail to resolve correctly due to common configuration errors in targets.js or app_settings.json data models. This Skill helps diagnose and troubleshoot these specific application data and configuration issues.

Can I integrate external APIs with my Community Health Toolkit application?

Yes, you can integrate external APIs with Community Health Toolkit applications by leveraging the CHT API. This Skill provides best practices and architectural guidance for implementing seamless API integrations within your CHT app.

What is the best way to generate a contact-summary in a CHT app?

The best way to generate a contact-summary in a CHT app is by configuring the contact-summary function with correct data model references. This Skill details the implementation patterns for accurate contact summarization.