create-cht-target

Generates commented targets.js CHT configuration code from analyzed XLSForms and user inputs.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openpyxl, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the creation of CHT (Community Health Toolkit) targets and Key Performance Indicators (KPIs), which are crucial for tracking progress and performance in health programs.

Core Features & Use Cases

  • Guided Target Creation: Interactively assists users in defining target type, data source, time period, and conditions.
  • Form Analysis: Analyzes existing XLSForms to identify relevant fields for target configuration.
  • Code Generation: Generates the targets.js configuration code with educational comments.
  • Use Case: A CHT developer needs to create a new target to track the percentage of home visits resulting in a successful outcome. This Skill guides them through selecting the correct forms, defining the success criteria, and generating the JavaScript code.

Quick Start

Use the create-cht-target skill to help me build a new target for tracking monthly patient registrations.

Frequently Asked Questions about create-cht-target

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

FAQPage Schema
How do I create CHT targets and KPIs for performance monitoring?

To create CHT targets and KPIs, you can use a guided assistant that analyzes your project context and existing forms to interactively define target types, data sources, and time periods, ultimately generating the required targets.js configuration code.

What is a CHT target configuration and when do I need one?

A CHT target configuration is a JavaScript code setup used to track progress and performance in health programs. You need one when you want to monitor specific reporting metrics, such as tracking the percentage of home visits resulting in a successful outcome.

Can I generate targets.js code from existing XLSForms?

Yes, this process analyzes your existing XLSForms to identify relevant fields for target configuration. It then uses those fields to interactively guide you through defining data sources and conditions to generate the targets.js code.

Do I need openpyxl to build CHT targets?

Yes, openpyxl is required as a dependency to build CHT targets. It is used to parse and analyze existing XLSForm files so the relevant data fields can be identified for your target and KPI configuration.

What's the best way to define target conditions for CHT reporting?

The best way to define target conditions for CHT reporting is through an interactive definition process. This approach helps you specify the target type, data source, time period, and success criteria, ensuring the generated targets.js code accurately reflects your performance monitoring needs.