Analytic Hierarchy Process (AHP) calculation skill for pairwise comparison matrices, consistency checking, and weight derivation
Performs Analytic Hierarchy Process calculations for multi-criteria decision analysis and weight derivation.
npx claudepluginhub a5c-ai/babysitterThis skill is limited to using the following tools:
The AHP Calculator skill implements the Analytic Hierarchy Process methodology for multi-criteria decision analysis. It enables systematic evaluation of alternatives through pairwise comparisons, consistency validation, and weight derivation, supporting both individual and group decision-making scenarios.
The standard Saaty scale for pairwise comparisons:
# Define AHP hierarchy
hierarchy = {
"goal": "Select Best Vendor",
"criteria": [
{
"name": "Cost",
"sub_criteria": ["Initial Cost", "Maintenance Cost"]
},
{
"name": "Quality",
"sub_criteria": ["Product Quality", "Service Quality"]
},
{
"name": "Delivery",
"sub_criteria": ["Lead Time", "Reliability"]
}
],
"alternatives": ["Vendor A", "Vendor B", "Vendor C"]
}
# Criteria comparison matrix
criteria_comparison = {
"Cost": {"Cost": 1, "Quality": 3, "Delivery": 5},
"Quality": {"Cost": 1/3, "Quality": 1, "Delivery": 3},
"Delivery": {"Cost": 1/5, "Quality": 1/3, "Delivery": 1}
}
The skill calculates:
Aggregation methods supported:
{
"hierarchy": {
"goal": "string",
"criteria": ["object"],
"alternatives": ["string"]
},
"comparisons": {
"criteria": "matrix",
"sub_criteria": "object of matrices",
"alternatives": "object of matrices"
},
"options": {
"aggregation_method": "AIJ|AIP",
"consistency_threshold": "number",
"sensitivity_analysis": "boolean"
}
}
{
"weights": {
"criteria": "object",
"sub_criteria": "object",
"alternatives": "object"
},
"global_weights": "object",
"ranking": ["string"],
"consistency": {
"CR": "number",
"is_consistent": "boolean",
"inconsistent_comparisons": ["object"]
},
"sensitivity": {
"critical_criteria": ["string"],
"stability_intervals": "object"
}
}
When CR > 0.10, the skill identifies:
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.
Search, retrieve, and install Agent Skills from the prompts.chat registry using MCP tools. Use when the user asks to find skills, browse skill catalogs, install a skill for Claude, or extend Claude's capabilities with reusable AI agent components.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.