config
Skill5 starsChanged 4 months agoMITView on GitHub
The standalone-solar-deep-station skill uses a modular, registry-based architecture that enables dynamic skill resolution, chain-of-thought routing, and graceful fallback. This document explains how skills are registered, resolved, executed, and validated. Skills are registered through the SkillRegistry class: Every skill must provide: When a query arrives, the registry:
15 other projects use a version of this.
Adopted by
Most recently taken up by
- sachingulati/claude-statuslinetheir own version, first seen Sep 30, 2026
- patforna/auto-tasktheir own version, first seen Sep 4, 2026
- idavidov13/agentic-playwrighttheir own version, first seen Aug 13, 2026
- tmck-code/yet-another-statuslinetheir own version, first seen Jul 30, 2026
- dungnotnull/black-garlic-fermentation-optimization-agent-skilltheir own version, first seen Jul 30, 2026
- ruali-dev/Riven-Analysttheir own version, first seen Jul 22, 2026
Used with
Projects with it also use uninstall, status and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
AnthropicSkilluninstall
Uninstall a community skill that was installed via the hub. Confirms before deleting files, refuses to touch first-party plugin skills, and logs every action. Use when the user wants to fully remove a community skill ("uninstall [skill]", "remove this skill") rather than just disable it.
Also in 3 projects that use this
AnthropicSkillstatus
Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.
Also in 3 projects that use this
SentrySkillreview
Fixture review skill.
Also in 4 projects that use this
VercelSkillsetup
Set up Vercel CLI and project configuration. Use when the user says "set up Vercel", "configure Vercel", "link to Vercel", or "vercel init".
Also in 3 projects that use this
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- tmck-code/yet-another-statusline★ 242same name
- idavidov13/agentic-playwright★ 222same name
- genkovich/sdd★ 170same name
- patforna/auto-task★ 10same name
- ThisisYoYoDev/claude-rag★ 9same name
- JeremieSamson/green-code★ 7same name
- dungnotnull/black-garlic-fermentation-optimization-agent-skill★ 5same name
- Bangs00/claude-media-control★ 4same name
- ruali-dev/Riven-Analyst★ 3same name
- geronimo-iia/llm-wiki-skills★ 2same name
5 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. 0 are common, 14 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
14
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 64
Every skill must provide:
- Distinctive: line 124
When a query arrives, the registry:
- Distinctive: line 129
Fallback Chain: If no match, tries lower tiers recursively
- Distinctive: line 245
All schemas use JSON Schema draft-07:
- Distinctive: line 371
Schema Validation: Always validate inputs/outputs against schemas
- Distinctive: line 372
Error Handling: Use specific error types, not generic exceptions
- Distinctive: line 373
Documentation: Document all assumptions and limitations
- Distinctive: line 374
Testing: Test with various intents and domain tiers
- Very specific: line 378
Use Orchestrator: Prefer orchestrator.execute() over direct skill calls
- Very specific: line 379
Handle Degradation: Always check data_availability_level in results
- Distinctive: line 380
Quality Gates: Don't skip gates; use auto-fix or flag limitations
- Distinctive: line 381
Language Support: Always detect and respect language preference
- Distinctive: line 382
Logging: Use execution log for debugging and metrics
- Distinctive: line 390
Create skill metadata following the schema
- Distinctive: line 393
Test with various intents and tiers
- Very specific: line 397
Add to IntentType enum in agent_registry.py
- Very specific: line 398
Add patterns to IntentRouter.PATTERNS
- Very specific: line 403
Add to DomainTier enum
- Distinctive: line 404
Update tier detection logic
- Very specific: line 411
All schemas are available in config/skill_schemas.py:
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SKILL.md — Skill Registry Documentation
Overview
The standalone-solar-deep-station skill uses a modular, registry-based architecture that enables dynamic skill resolution, chain-of-thought routing, and graceful fallback. This document explains how skills are registered, resolved, executed, and validated.
Architecture Overview
User Query
│
▼
[Intent Router] → Detect Intent + Domain Tier
│
▼
[Skill Registry] → Resolve Best Agent
│
▼
[Agent Execution] → Pre-Hooks → Execute → Post-Hooks
│
▼
[Quality Gates] → Validate → Auto-Fix → Fallback
│
▼
[Output] → Result with MetadataSkill Registration
Registration Process
Skills are registered through the SkillRegistry class:
from config.agent_registry import get_registry, BaseAgent, SkillMetadata
# Create agent metadata
metadata = SkillMetadata(
name="sub-core-analysis",
version="1.0.0",
description="Design standalone solar system for remote station",
author="standalone-solar-deep-station",
intent_types=[IntentType.ANALYSIS, IntentType.VALIDATION],
domain_tiers=[DomainTier.INTERMEDIATE, DomainTier.ADVANCED, DomainTier.EXPERT],
input_schema=get_schema("CoreAnalysisInput"),
output_schema=get_schema("CoreAnalysisOutput"),
dependencies=["sub-evidence-collector"],
requires_tools=["WebFetch", "Read", "Arithmetic"],
quality_gates=["G1", "G2", "G3", "G4"],
tags=["solar", "pv-sizing", "battery"]
)
# Register the agent
registry = get_registry()
registry.register(agent_instance)Metadata Requirements
Every skill must provide:
| Field | Type | Required | Description |
name | string | ✓ | Unique skill identifier (kebab-case) |
version | string | ✓ | Semantic version |
description | string | ✓ | One-line summary (used in triggering) |
author | string | ✓ | Author or system identifier |
intent_types | list | ✓ | Supported intents (see IntentType enum) |
domain_tiers | list | ✓ | Supported complexity levels |
input_schema | dict | ✓ | JSON Schema draft-07 for input validation |
output_schema | dict | ✓ | JSON Schema draft-07 for output validation |
dependencies | list | ✗ | Skills that must run first |
requires_tools | list | ✗ | Tools required for execution |
quality_gates | list | ✗ | Quality gates to apply |
tags | list | ✗ | Search/metadata tags |
Intent Routing
Intent Types
| Intent | Description | Example Queries |
ANALYSIS | Full system analysis | "Analyze my solar system", "Design a 5kW system" |
COMPARISON | Compare options | "Compare lithium vs lead acid", "Generator vs fuel cell" |
FEASIBILITY | Assess feasibility | "Is this feasible?", "Can this work at my site?" |
OPTIMIZATION | Optimize existing | "Optimize efficiency", "Reduce costs" |
TROUBLESHOOTING | Diagnose issues | "Why is my system failing?", "Diagnose low output" |
EDUCATION | Explain concepts | "Explain MPPT", "How does autonomy work?" |
VALIDATION | Validate designs | "Check if my design is valid", "Verify this system" |
Domain Tiers
| Tier | Complexity | Example Scenarios |
BASIC | Simple load calc | "What size battery for 100W?" |
INTERMEDIATE | Standard design | "Design system for 2kW load" |
ADVANCED | Multi-source + backup | "Design with generator backup" |
EXPERT | Grid-interactive, hybrid | "Grid-tied with battery backup" |
Routing Logic
# Intent detection uses pattern matching
intent = router.detect_intent("Analyze my solar system")
# Returns: IntentType.ANALYSIS
# Tier detection uses keyword analysis
tier = router.detect_domain_tier("Design hybrid grid-interactive system")
# Returns: DomainTier.EXPERTSkill Resolution
Resolution Algorithm
When a query arrives, the registry:
- Filters by Intent: Finds skills supporting the detected intent
- Filters by Tier: From above, finds skills supporting the detected tier
- Selects Best Match: Returns first candidate or most specific by tags
- Fallback Chain: If no match, tries lower tiers recursively
# Automatic resolution
agent = registry.resolve(intent=IntentType.ANALYSIS, tier=DomainTier.ADVANCED)
# Returns: sub-core-analysis agent (supports ANALYSIS + ADVANCED)
# Fallback example
agent = registry.resolve(intent=IntentType.ANALYSIS, tier=DomainTier.EXPERT)
# If no EXPERT agent, falls back to ADVANCED, then INTERMEDIATEManual Selection
Skills can be invoked directly by name:
agent = registry.get_skill("sub-core-analysis")
if agent:
result = await agent.execute(context)Execution Flow
Lifecycle Hooks
Agents support lifecycle hooks for extensibility:
agent = registry.get_skill("sub-core-analysis")
# Register hooks
agent.register_hook("pre_execution", log_context)
agent.register_hook("post_execution", validate_result)
agent.register_hook("on_error", handle_error)
agent.register_hook("on_quality_gate_fail", auto_fix)| Hook | Purpose | When Called |
pre_execution | Input validation, logging | Before agent.execute() |
post_execution | Output validation, metrics | After successful execution |
on_error | Error handling, recovery | On exception |
on_quality_gate_fail | Auto-fix, fallback | When quality gate fails |
Execution Example
orchestrator = get_orchestrator()
# Execute query
result = await orchestrator.execute(
user_query="Design a 5kW system with 3 days autonomy",
language="en"
)
# Result structure
result.success # bool
result.data # dict (matches output schema)
result.errors # list[str]
result.warnings # list[str]
result.metadata # dict (execution info)
result.execution_time_ms # int
result.tokens_used # intQuality Gates
Universal Gates (U1-U6)
Apply to all skills:
| Gate | Check | Auto-Fix |
| U1 | ≥3 sources, ≥1 authoritative | Fetch from KB/evidence collector |
| U2 | Disclosure before recommendation | Prepend disclosure |
| U3 | Evidence tier labels | Annotate sources |
| U4 | Language matches preference | Translate output |
| U5 | Template completeness | Reformat to template |
| U6 | Claims traceable to sources | Flag unsupported claims |
Domain Gates (G1-G4)
Apply to solar engineering skills:
| Gate | Check | Auto-Fix |
| G1 | Load & autonomy defined | Calculate from defaults |
| G2 | PV & battery sized with losses | Add derating factors |
| G3 | Controller/inverter specified | Add MPPT controller |
| G4 | Backup & redundancy | Add backup recommendation |
Enforcement Logic
# Automatic enforcement with retry
for gate in quality_gates:
for attempt in range(max_retries):
if not gate.check(result):
if gate.can_auto_fix():
result = gate.auto_fix(result)
else:
result.limitations.append(f"Gate {gate.name} failed")
breakInput/Output Schemas
Schema Definition
All schemas use JSON Schema draft-07:
from config.skill_schemas import get_schema
# Get schema for validation
input_schema = get_schema("CoreAnalysisInput")
output_schema = get_schema("CoreAnalysisOutput")
# Validate input
is_valid, errors = validate_against_schema(input_data, input_schema)Available Schemas
| Schema Name | Purpose |
GatherRequirementsInput | Requirements gathering input |
GatherRequirementsOutput | Structured requirements |
EvidenceCollectorInput | Evidence collection input |
EvidenceCollectorOutput | Evidence bundle |
CoreAnalysisInput | Core analysis input |
CoreAnalysisOutput | Analysis results |
KnowledgeUpdaterInput | KB query input |
KnowledgeUpdaterOutput | Academic evidence |
AdvisorInput | Synthesis input |
AdvisorOutput | Final recommendation |
MainHarnessOutput | Complete report |
Fallback & Degradation
Degradation Levels
| Level | Condition | Behavior |
| 0 | All sources available | Full analysis |
| 1 | Some primary fail | Use secondary + flag substitutions |
| 2 | Most fail | KB only + "historical as of [date]" |
| 3 | Input missing | Proceed + flag "DATA UNAVAILABLE" |
| 4 | All fail + KB empty | Emit "DATA UNAVAILABLE", no fabrication |
Fallback Chain
# Automatic fallback in skill resolution
def resolve_with_fallback(intent, tier):
for fallback_tier in get_fallback_tiers(tier):
agent = find_agent(intent, fallback_tier)
if agent:
return agent
return NoneError Handling
Error Types
| Error | Detection | Recovery |
| Source timeout | No response 30s | Retry alternate source (max 3) |
| Invalid input | Schema mismatch | Ask user to confirm |
| Missing input | Field absent | Proceed + flag |
| Stale data | Timestamp old | Flag + request refresh |
| KB miss | No matches | WebSearch gap-fill |
| Conflicting actions | Mutually exclusive | Apply precedence |
Error Recovery Example
try:
result = await agent.execute(context)
except ValidationError as e:
# Ask user for clarification
return request_clarification(e.missing_fields)
except SourceTimeoutError as e:
# Try fallback source
return execute_with_fallback(context)Skill Discovery
List Available Skills
registry = get_registry()
# All skills
all_skills = registry.list_skills()
# Filter by intent
analysis_skills = registry.list_skills(intent=IntentType.ANALYSIS)
# Get skill metadata
agent = registry.get_skill("sub-core-analysis")
metadata = agent.metadataSkill Metadata Query
# Get metadata for a skill
metadata = agent.metadata
print(f"Name: {metadata.name}")
print(f"Version: {metadata.version}")
print(f"Description: {metadata.description}")
print(f"Intents: {[i.value for i in metadata.intent_types]}")
print(f"Tiers: {[t.value for t in metadata.domain_tiers]}")
print(f"Dependencies: {metadata.dependencies}")
print(f"Quality Gates: {metadata.quality_gates}")
print(f"Tags: {metadata.tags}")Best Practices
For Skill Authors
- Clear Descriptions: Make skill descriptions "pushy" to ensure triggering
- Schema Validation: Always validate inputs/outputs against schemas
- Error Handling: Use specific error types, not generic exceptions
- Documentation: Document all assumptions and limitations
- Testing: Test with various intents and domain tiers
For Integration
- Use Orchestrator: Prefer
orchestrator.execute()over direct skill calls - Handle Degradation: Always check
data_availability_levelin results - Quality Gates: Don't skip gates; use auto-fix or flag limitations
- Language Support: Always detect and respect language preference
- Logging: Use execution log for debugging and metrics
Extending the Registry
Adding New Skills
- Create skill metadata following the schema
- Implement
BaseAgentwith validate/execute methods - Register with
registry.register(agent) - Test with various intents and tiers
Adding New Intents
- Add to
IntentTypeenum inagent_registry.py - Add patterns to
IntentRouter.PATTERNS - Update documentation
Adding New Domain Tiers
- Add to
DomainTierenum - Update tier detection logic
- Document complexity differences
JSON Schema Reference
All schemas are available in config/skill_schemas.py:
from config.skill_schemas import list_schemas, get_schema
# List all schemas
schemas = list_schemas()
# Get specific schema
schema = get_schema("MainHarnessOutput")Schemas are exported as JSON for documentation:
python -m config.skill_schemas
# Exports to schemas_export.jsonConfiguration
Skill behavior is configured via config/settings.json:
| Section | Key | Purpose |
llm | temperature | LLM temperature for skill execution |
domain | max_autonomy_days | Maximum autonomy days for design |
quality_gates | strict_mode | Whether to enforce all gates strictly |
features | enable_degraded_mode | Enable degraded mode fallback |
Environment variable overrides use SOLAR_STATION_ prefix:
export SOLAR_STATION_LLM_TEMPERATURE=0.5
export SOLAR_STATION_DOMAIN_MAX_AUTONOMY_DAYS=14
export SOLAR_STATION_DEBUG=trueMetrics and Monitoring
Execution Metrics
The orchestrator tracks:
- Execution time per skill
- Tokens used per invocation
- Success/failure rates
- Quality gate pass/fail rates
- Degradation level frequency
Access Metrics
orchestrator = get_orchestrator()
log = orchestrator.get_execution_log()
# Analyze performance
for entry in log:
print(f"{entry['skill']}: {entry['execution_time_ms']}ms")Troubleshooting
Common Issues
| Issue | Cause | Solution |
| Skill not triggered | Description not pushy enough | Add "use this skill whenever..." |
| No agent found | Intent/tier mismatch | Check intent patterns and tier support |
| Validation fails | Schema mismatch | Check input/output against schemas |
| Quality gate fails | Missing sources/disclosure | Enable auto-fix in config |
| Degraded mode active | Sources unreachable | Check network and source availability |
References
config/agent_registry.py— Core registry implementationconfig/skill_schemas.py— All JSON schemasconfig/__init__.py— Configuration managementSKILL-STANDARD.md— Library-wide skill standard
Version: 1.0.0 Last Updated: 2026-07-15 Maintainer: standalone-solar-deep-station project
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

