complexity-scorer-3-context-aware-scoring
Sub-skill of complexity-scorer: 3. Context-Aware Scoring (+1).
Best use case
complexity-scorer-3-context-aware-scoring is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Sub-skill of complexity-scorer: 3. Context-Aware Scoring (+1).
Teams using complexity-scorer-3-context-aware-scoring should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/3-context-aware-scoring/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How complexity-scorer-3-context-aware-scoring Compares
| Feature / Agent | complexity-scorer-3-context-aware-scoring | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Sub-skill of complexity-scorer: 3. Context-Aware Scoring (+1).
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 3. Context-Aware Scoring (+1)
## 3. Context-Aware Scoring
Adjust scores based on context (repository, domain, etc.):
```bash
#!/bin/bash
# ABOUTME: Context-aware complexity scoring
# ABOUTME: Adjusts based on repository tier, domain
# Repository tiers
TIER1_REPOS="workspace-hub|digitalmodel|energy|client-a"
TIER2_REPOS="assetutilities|worldenergydata|client-b"
TIER3_REPOS="lng-a|client-d|OGManufacturing|client-f"
PERSONAL_ACTIVE="aceengineer-admin|aceengineer-website"
PERSONAL_EXPERIMENTAL="hobbies|sd-work|mkt-a"
# Get repository tier
get_repo_tier() {
local repo="$1"
if echo "$repo" | grep -qE "$TIER1_REPOS"; then
echo "tier1"
elif echo "$repo" | grep -qE "$TIER2_REPOS"; then
echo "tier2"
elif echo "$repo" | grep -qE "$TIER3_REPOS"; then
echo "tier3"
elif echo "$repo" | grep -qE "$PERSONAL_ACTIVE"; then
echo "personal_active"
elif echo "$repo" | grep -qE "$PERSONAL_EXPERIMENTAL"; then
echo "personal_experimental"
else
echo "unknown"
fi
}
# Adjust score based on context
adjust_for_context() {
local base_score="$1"
local repo="$2"
local adjusted=$base_score
local tier=$(get_repo_tier "$repo")
case "$tier" in
tier1)
# Production repos bias toward higher quality
((adjusted+=1))
;;
tier3|personal_experimental)
# Maintenance/experimental bias toward efficiency
((adjusted-=1))
;;
esac
echo $adjusted
}
# Full scoring with context
score_with_context() {
local task="$1"
local repo="$2"
local base_score=$(calculate_complexity "$task")
local final_score=$(adjust_for_context "$base_score" "$repo")
echo $final_score
}
```
## 4. Score Classification
Map scores to categories:
```bash
#!/bin/bash
# ABOUTME: Map complexity scores to categories
# ABOUTME: Provides actionable classifications
# Classification thresholds
THRESHOLD_HIGH=5
THRESHOLD_MEDIUM=1
THRESHOLD_LOW=-2
# Classify score
classify_complexity() {
local score="$1"
if [[ $score -ge $THRESHOLD_HIGH ]]; then
echo "high"
elif [[ $score -ge $THRESHOLD_MEDIUM ]]; then
echo "medium"
elif [[ $score -ge $THRESHOLD_LOW ]]; then
echo "low"
else
echo "trivial"
fi
}
# Get recommendation based on classification
get_recommendation() {
local score="$1"
local classification=$(classify_complexity "$score")
case "$classification" in
high)
echo "OPUS"
echo "Use for complex architecture, multi-file refactoring, security analysis"
;;
medium)
echo "SONNET"
echo "Standard implementation, code review, documentation"
;;
low)
echo "HAIKU"
echo "Quick queries, status checks, simple operations"
;;
trivial)
echo "HAIKU"
echo "Trivial task - consider if AI is even needed"
;;
esac
}
# Get color for display
get_score_color() {
local score="$1"
local classification=$(classify_complexity "$score")
case "$classification" in
high) echo "$GREEN" ;;
medium) echo "$BLUE" ;;
low) echo "$YELLOW" ;;
trivial) echo "$CYAN" ;;
esac
}
```Related Skills
context-compaction-handoff
Guardrails for resuming work after context compaction or transcript handoff blocks; prioritize the latest real user request over stale summarized tasks and verify before answering.
live-state-aware-overnight-implementation-prompts
Design overnight implementation prompts that begin with a live repo/CI precheck so workers continue from partial progress instead of replaying stale handoffs.
wiki-context
Auto-query llm-wiki domains for relevant context before executing domain tasks
data-context-extractor
Generate or improve a company-specific data analysis skill by extracting tribal knowledge from analysts
skill-chain-context-optimization
Refactor large or frequently-run skills into context-efficient chains using isolated execution, file-backed handoffs, minimal summaries, and runtime-aware command substitution.
core-context-management-windows-task-scheduler
Sub-skill of core-context-management: Windows Task Scheduler (+2).
core-context-management-validatecontextsh
Sub-skill of core-context-management: validate_context.sh (+4).
core-context-management-size-limits-mandatory
Sub-skill of core-context-management: Size Limits (MANDATORY) (+3).
core-context-management-response-format-rules
Sub-skill of core-context-management: Response Format Rules (+3).
core-context-management-learning-from-past-work
Sub-skill of core-context-management: Learning from Past Work (+2).
core-context-management
Manage agent context files, enforce size limits, and optimize token budget allocation
complexity-scorer-5-confidence-scoring
Sub-skill of complexity-scorer: 5. Confidence Scoring (+1).