Agent skill

duration-prediction

Predict project duration using k-NN and regression. Estimate timeline based on similar historical projects.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill duration-prediction --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 14 KB
Bundled scripts: none
Path: skills/ai-ml/duration-prediction/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Duration Prediction ## Business Case ### Problem Statement Project duration estimation challenges: - Subjective expert estimates - Lack of historical benchmarking - Inaccurate early-stage predictions - Difficulty comparing similar projects ### Solution Machine learning-based duration prediction using k-Nearest Neighbors and regression models trained on historical project data. ## Technical Implementation ```python import pandas as pd import numpy as np from typing import Dict, Any, List, Optional, Tuple from dataclasses import dataclass, field from datetime import date from enum import Enum import math class ModelType(Enum): KNN = "knn" LINEAR_REGRESSION = "linear_regression" WEIGHTED_KNN = "weighted_knn" class ProjectType(Enum): OFFICE = "office" RESIDENTIAL = "residential" INDUSTRIAL = "industrial" RETAIL = "retail" HEALTHCARE = "healthcare" EDUCATION = "education" @dataclass class ProjectFeatures: project_id: str project_type: ProjectType size_sf: float floors: int complexity: int # 1-5 location_factor: float # Cost adjustment factor has_basement: bool = False is_renovation: bool = False actual_duration: Optional[int] = None # Days @dataclass class PredictionResult: predicted_

What's inside
Steps it walks through
  1. Business Case
  2. Problem Statement
  3. Solution
  4. Technical Implementation
  5. Quick Start
  6. Common Use Cases
  7. 1. Compare Models
  8. 2. Model Evaluation
  9. 3. Find Similar Projects
  10. Resources
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the duration-prediction skill do?

Predict project duration using k-NN and regression. Estimate timeline based on similar historical projects.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill duration-prediction --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going