Foundation shovel — Generate, validate, and package all SharpAgent skills. Fusion of Ontology Schema + Skill Creator + Skill Oracle.
Use this skill when:
SharpAgentEvery SharpAgent Skill must declare a contract — a YAML block that states:
yaml
contract:
name: sharpagent-five-factor-review
version: "1.0.0"
category: analysis
trust_level: verified # draft | verified | audited
reads:
- InformationSource
- LearningEntry
writes:
- FiveFactorResult
preconditions:
- "Must have at least one InformationSource to analyze"
- "Must have access to web_search or memory_search tool"
postconditions:
- "Output contains overall_confidence score (0-10)"
- "Each of 5 factors has a value"
calibration:
default_mode: professional # warm | professional | deep
modes_supported: [warm, professional, deep]
compliance:
jurisdiction: global # cn | us | eu | global
safety_level: standard # minimal | standard | strict
lifecycle:
status: active
publish_as: SharpAgent
bash
sharpagent scaffold --name sharpagent-five-factor-review --category analysis
Generates:
text
/sharpagent-skills/sharpagent-five-factor-review/
├── SKILL.md # Contract + documentation
├── contract.yaml # Machine-readable contract (auto-derived)
├── scripts/ # Runtime scripts (optional)
├── references/ # Supporting docs (optional)
└── test/ # Validation tests (optional)
bash
sharpagent validate --path ./sharpagent-five-factor-review/SKILL.md
Checks:
json
{
"valid": true,
"warnings": [],
"errors": [],
"score": 100,
"missing_optional": ["scripts/ directory missing"]
}
bash
sharpagent package --name sharpagent-five-factor-review --output ./dist/
Produces:
text
./dist/sharpagent-five-factor-review.tar.gz
├── SKILL.md
├── contract.yaml
├── scripts/
└── references/
FieldTypeRequiredDefaultcontract.namestring✅-contract.versionsemver✅"0.0.1"contract.categoryenum✅-contract.trust_levelenum✅"draft"contract.readsstring[]✅[]contract.writesstring[]✅[]contract.preconditionsstring[]✅[]contract.postconditionsstring[]❌[]contract.calibrationobject✅defaultcontract.complianceobject✅defaultcontract.lifecycleobject✅default
CategoryDescriptionExample SkillsanalysisAnalyzes input, produces structured outputFive-factor reviewworkflowMulti-step process with gatesEngineering lifecyclemonitorPeriodic scanning and alertingIntelligence briefingmemoryStorage, retrieval, consolidationMemory managementscaffoldCode/file generationSkill creationintegrationExternal service bridgingAPI clients
LevelMeaningWhendraftWork in progress, unverifiedInitial creationverifiedContract structure validatedAfter validationauditedFull five-factor trust audit passedCommunity verified
yaml
calibration:
default_mode: professional
modes_supported: [warm, professional, deep]
ModeWarmProfessionalDeepToneFriendly, supportiveNeutral, preciseAnalytical, detailedDetailConciseBalancedExhaustiveUse caseUser-facingInternal reportsResearch analysis
writes: [FiveFactorResult] → Contract schema is consumed by the five-factor review skillcontract.calibration block defines which modes are supportedcontract.calibration.modes_supportedcontract.compliance block sets safety policiessafety_level: standard is the minimum for ClawHub publicationCheckWhatFail actionSchema validAll required YAML fields presentBlock packagingType consistencyreads/writes reference known typesWarnNaming conventionsnake_case, ≤40 charsWarnCalibration declaredAt least default_mode setWarnPreconditions non-emptypreconditions list ≥1 itemWarnVersion formatvalid semverBlock packaging
SituationActionNo reads (standalone)Allow with warningreads = writesWarn (likely mistake)Type cross-reference failsWarn + list unknown typesCalibration missingSet default: professional + standardDraft trust_levelAllow creation, warn on packagingSKILL.md has no contract blockFail validation
SharpAgent · MIT-0 · 2026-05-11