Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Ahp Weighting

ASecurity

SOP: 使用 AHP 层次分析法确定评分维度权重,输出权重向量

417 stars
0 votes
0 copies
0 views
Added 6/1/2026
researchgo

Security Analysis

A100/100

Scanned 6/1/2026

Install to Claude Code

$npx -y skills add yogsoth-ai/de-anthropocentric-research-engine --skill ahp-weighting --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ahp Weighting?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Ahp Weighting
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yogsoth-ai-ahp-weighting/badge)](https://www.skillsdirectory.com/skills/yogsoth-ai-ahp-weighting)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: ahp-weighting
description: "SOP: 使用 AHP 层次分析法确定评分维度权重,输出权重向量"
version: 1.0.0
category: hypothesis-formation
type: sop
campaign: gap-prioritization
input: "维度列表(字符串数组)+ 可选的两两比较偏好矩阵"
output: "AHPWeights — 权重向量、一致性比率(CR)及判断矩阵"
dependencies:
  skills:
    - subagent-spawning
---

# AHP Weighting

使用 AHP 层次分析法确定评分维度权重,输出权重向量。

## HARD-GATE

<HARD-GATE>
- 输入维度数量必须在 [2, 9] 范围内(AHP 适用范围)
- 输出权重向量各元素之和必须等于 1.0(允许 ±0.001 误差)
- 一致性比率 CR 必须被计算并报告;若 CR > 0.1 必须标记警告
</HARD-GATE>

## Pipeline

1. **前置检查**: 验证维度列表非空且数量在 [2, 9] 范围内
2. **维度列表确认**: 输出维度列表供调用方确认;若已提供比较矩阵则跳至步骤 4
3. **两两比较矩阵构建**: 对每对维度 (i, j) 赋予 Saaty 标度值(1-9);矩阵满足 a[j][i] = 1/a[i][j]
4. **特征向量计算**: 对每列归一化后取行均值,得到优先级向量(权重)
5. **一致性比率检验**: 计算最大特征值 λ_max → 一致性指数 CI = (λ_max - n)/(n-1) → CR = CI/RI(查 Saaty RI 表);CR < 0.1 为可接受
6. **输出**: 返回 AHPWeights 对象;若 CR > 0.1 附加修正建议

## Output Format

```json
{
  "dimensions": ["importance", "feasibility", "novelty", "impact"],
  "comparison_matrix": [[1, 3, 2, 2], [0.33, 1, 0.5, 0.5], [0.5, 2, 1, 1], [0.5, 2, 1, 1]],
  "weights": { "importance": 0.40, "feasibility": 0.15, "novelty": 0.23, "impact": 0.22 },
  "lambda_max": 4.02,
  "ci": 0.007,
  "ri": 0.90,
  "cr": 0.008,
  "cr_acceptable": true,
  "warnings": [],
  "revision_suggestions": []
}
```

Attribution

yogsoth-aiyogsoth-ai
View sourceMore from yogsoth-ai →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Competitor Analysis

This skill provides comprehensive analysis of competitor SEO and GEO strategies, revealing what's working in your market and identifying opportunities to outperform the competition.

1823 votes

Deep Research

Universal deep research agent team. 13-agent pipeline for rigorous academic research on any topic. 7 modes: full research, quick brief, paper review, lit-review, fact-check, Socratic guided research dialogue, and systematic review with optional meta-analysis. Covers research question formulation, Socratic mentoring, methodology design, systematic literature search, source verification, cross-source synthesis, risk of bias assessment, meta-analysis, APA 7.0 report compilation, editorial review...

452202 votes

Paperclip Distill

Use when an operation issue is a Paperclip cursor-window, distill, or backfill — `operationType: "distill"` or `"backfill"` and the body references a Paperclip source bundle for a project or root issue. Turn raw Paperclip activity into a wiki-insightful project page, decisions log, and history note. This skill exists specifically to replace the stiff, datestamp-heavy templated output that the deterministic distiller produces.

805541 votes

Academic Pipeline

Orchestrator for the full academic research pipeline: research -> write -> integrity check -> review -> revise -> re-review -> re-revise -> final integrity check -> finalize. Coordinates deep-research, academic-paper, and academic-paper-reviewer into a seamless 10-stage workflow with mandatory integrity verification, two-stage peer review, and reproducible quality gates. Triggers on: academic pipeline, research to paper, full paper workflow, paper pipeline, end-to-end paper, research-to-publi...

452201 votes

Exa Search

Semantic search, similar content discovery, and structured research using Exa API

304951 votes
View all in research →