Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add obielin/responsible-ai-skills --skill explainability-by-defaultgit clone --depth 1 https://github.com/obielin/responsible-ai-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/obielin/responsible-ai-skills/explainability-by-default)<a href="https://agentmods.dev/skills/obielin/responsible-ai-skills/explainability-by-default"><img src="https://agentmods.dev/badge/skills/obielin/responsible-ai-skills/explainability-by-default/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/obielin/responsible-ai-skills/explainability-by-default"><img src="https://agentmods.dev/badge/skills/obielin/responsible-ai-skills/explainability-by-default.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00032 | $0.01707 |
| Opus 5 | $0.00016 | $0.00853 |
| Sonnet 5 | $0.00006 | $0.00341 |
| Haiku 4.5 | $0.00003 | $0.00171 |
Grade A, and why
explainability-by-default scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 233 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Explainability by Default
Every AI system you build must be able to explain its decisions. This is not an add-on — it is a design constraint. Build explanation capability first, then the model.
The Explainability Design Question
Before choosing a model architecture, answer this:
Who needs to understand this decision, and what do they need to know?
| Audience | What They Need | Approach |
|---|---|---|
| Affected citizen | "Why was I declined/flagged/scored?" | Plain-English local explanation |
| Frontline staff | "What drove this score for this person?" | Feature importance for this case |
| Auditor / regulator | "How does this system work systematically?" | Global model behaviour + documentation |
| Developer / data scientist | "Is the model behaving as expected?" | SHAP values, attention maps, partial dependence |
Design for all relevant audiences before writing model code.
Step 1: Choose an Interpretable-First Architecture
Prefer interpretable models unless you have a clear, documented reason not to:
Decision tree → Logistic regression → Linear SVM
↓ (only if accuracy genuinely requires it)
Random Forest + SHAP → Gradient Boosting + SHAP
↓ (only if task genuinely requires it)
Deep neural network + explanation layer
↓ (last resort — requires extra governance)
Black-box model (requires independent audit)
Rule: Use the simplest model that meets your accuracy requirements. Document why you didn't use a simpler one.
Step 2: Add Explanation Capability at Build Time
For Scikit-learn Models
import shap
# Train model
model.fit(X_train, y_train)
# Build explainer at training time — not as an afterthought
explainer = shap.TreeExplainer(model) # for tree-based models
# or
explainer = shap.LinearExplainer(model, X_train) # for linear models
# or
explainer = shap.KernelExplainer(model.predict, shap.sample(X_train, 100)) # for any model
# Save explainer alongside model
import joblib
joblib.dump({'model': model, 'explainer': explainer}, 'model_artifacts/model_with_explainer.pkl')
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 233 lines · 32 tokens per session scan A 0a7efa5259f4
explainability-by-default is a skill published in the GitHub repository obielin/responsible-ai-skills (2 stars, last pushed 5mo ago), licensed MIT. It adds 32 tokens to every session and 1,707 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
visualize
Visualize the Semantica knowledge graph — topology, centrality, communities, paths, embeddings, decision insights, and temporal evolution. Uses GraphAnalyzer, CentralityCalculator, CommunityDetector, PathFinder, and ContextGraph analytics. Sub-commands: topology, centrality, community, path, decision-graph, insights…
embed
Generate, inspect, and use node/text embeddings in Semantica — compute Node2Vec embeddings, find similar nodes, score link predictions, batch similarity, and pairwise similarity. Uses NodeEmbedder, SimilarityCalculator, LinkPredictor, and AgentContext. Sub-commands: compute, similar, similarity, predict-link…
validate
Validate Semantica pipelines, extraction quality, graph schemas, and ontology consistency. Returns structured error/warning checklists. Uses PipelineValidator, PipelineBuilder.validatepipeline(), GraphValidator, and OntologyValidator. Sub-commands: pipeline, step, dependencies, extraction, graph, ontology, performance.
reason
Run reasoning over the Semantica knowledge graph — deductive logic, abductive hypothesis generation, Datalog programs, SPARQL queries, Rete network evaluation. Uses DeductiveReasoner, AbductiveReasoner, DatalogReasoner, SPARQLReasoner, ReteEngine. Sub-commands: deductive, abductive, datalog, sparql, rete, prove…
temporal
Temporal graph operations on Semantica — scoped queries at a point in time, graph snapshots, node change timelines, temporal causal analysis, and graph state reconstruction. Uses AgentContext.findprecedents(asof=), ContextGraph.stateat(), CausalChainAnalyzer.traceattime(), and TemporalQueryRewriter. Sub-commands…
extract
Run the full Semantica semantic extraction pipeline on a file or selected text — NER, relations, events, coreference resolution, triplets, and validation. Clears result cache before each run. Returns Markdown tables with entity/relation/event/triplet results and inline validator warnings.