model-runtime-capability-profile
Skill2 starsChanged 4 months agoApache-2.0View on GitHub
Add or update a governed model-runtime capability adapter for an AI provider, model family, or API revision in AI Governance Control Plane OSS. Use when introducing support for a vendor/model's runtime parameters, endpoint contract, default values, bounds, profile version, Studio controls, or execution-parameter translation.
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- console/AGENTS.mdAGENTS.md
- keycloak-postgres/AGENTS.mdAGENTS.md
- api-changeSkill
- domain-featureSkill
- governance-policySkill
- keycloak-service-identitySkill
- tenant-isolationSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 7 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Add a deterministic, provider-neutral contract that lets Studio render only valid model controls and lets candidate execution invoke the …
- Distinctive: line 14
Read root AGENTS.md, then inspect the provider adapter and existing tests.
- Distinctive: line 15
Read contract reference before changing a profile.
- Very specific: line 19
Add the narrowest model-family match in src/ai_governance/services/models/runtime_capability_service.py.
- Very specific: line 26
Update the matching ModelRuntimeAdapter request translation.
- Distinctive: line 29
Keep the profile immutable once a model version is registered.
- Distinctive: line 32
Add focused resolver, registry, execution-adapter, and REST tests.
- Very specific: line 37
Treat DECLARED as curated, adapter-owned knowledge.
- Very specific: line 39
Use UNVERIFIED for providers or model families without a reliable contract.
- Distinctive: line 40
Do not expose speculative fields in Studio.
- Distinctive: line 43
Never fetch provider schemas during candidate execution.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Model Runtime Capability Profile
Add a deterministic, provider-neutral contract that lets Studio render only valid model controls and lets candidate execution invoke the matching provider API without relying on user guesses.
Workflow
- Read root
AGENTS.md, then inspect the provider adapter and existing tests. Read contract reference before changing a profile. - Establish the vendor-supported contract from official provider documentation or a reproducible integration response. Never infer support from a model family name alone when a version-specific rule is available.
- Add the narrowest model-family match in
src/ai_governance/services/models/runtime_capability_service.py. Give it a stableprofile_idand incrementprofile_versionwhenever the contract changes. - Describe each portable user control with its canonical name, support flag, numeric type, bounds, and provider default when known. Do not include API keys, URLs, credentials, raw provider schemas, or undocumented controls.
- Update the matching
ModelRuntimeAdapterrequest translation. It must send only parameters present in persisted candidate evidence and translate canonical names to endpoint-specific names in one place. - Keep the profile immutable once a model version is registered. New evidence or an API change requires a new model version/profile version; never rewrite stored snapshots.
- Add focused resolver, registry, execution-adapter, and REST tests. Run the focused checks listed in the reference.
Rules
- Treat
DECLAREDas curated, adapter-owned knowledge. UseVERIFIEDonly after an explicit, authenticated verification flow records its outcome. - Use
UNVERIFIEDfor providers or model families without a reliable contract. Do not expose speculative fields in Studio. - Preserve custom/provider-specific configuration as an explicit future schema extension, not a silent free-form invocation payload.
- Never fetch provider schemas during candidate execution. Optional discovery or verification happens only during registration/reverification and must not persist credentials.
- Preserve tenant context through registration, execution, evidence, and provider calls. Do not log prompt content, tokens, credentials, or raw error bodies.
Done when
- Studio renders editable fields only for supported parameters and leaves blank values to provider defaults.
- A managed model version stores its selected profile snapshot.
- Candidate execution sends only explicit candidate overrides plus the managed model defaults, using the adapter's endpoint translation.
- Unsupported or incorrectly cased portable controls return a clear 400 before any provider invocation.
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.

