# sandbaseai/sandbase-skills architecture

> Architecture diagram of the GitHub repository sandbaseai/sandbase-skills, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sandbaseai/sandbase-skills
- Repository: https://github.com/sandbaseai/sandbase-skills

## Overview

SandBase Skills is a collection of portable agent workflows, with a flagship evidence-led multi-source research skill and a DSH installer. The documented research flow uses host search/page-reading capabilities, traces source origins, records claims in an evidence ledger, and can validate a report offline. Specialized skills may optionally use SandBase capabilities. The source excerpts show the DSH CLI-to-installer calls; most skill instructions and provider integrations were not sampled, so their internal links are limited to documented behavior.

Main entry points: [`research/multi-source-search`](https://github.com/sandbaseai/sandbase-skills/tree/main/research/multi-source-search) (Multi-source search), [`bin/sandbase-dsh-skills.mjs`](https://github.com/sandbaseai/sandbase-skills/blob/main/bin/sandbase-dsh-skills.mjs) (DSH skills CLI), [`lib/dsh-installer.mjs`](https://github.com/sandbaseai/sandbase-skills/blob/main/lib/dsh-installer.mjs) (Skill installer), [`marketing`](https://github.com/sandbaseai/sandbase-skills/tree/main/marketing) (Business and specialist skills)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_research["Research workflow"]
  node_flagship["Multi-source search"]
  node_hosttools["Host search tools"]
  node_source_trace["Source tracing"]
  node_evidence["Evidence ledger"]
  node_report["Research report"]
  node_validator["Offline report validator<br/>[validate_report.py]"]
end

subgraph group_skills["Skill collection"]
  node_skills["Portable Agent Skills"]
  node_business_skills["Business and specialist skills"]
  node_registry["SandBase registry metadata"]
end

subgraph group_install["DSH installation"]
  node_cli["DSH skills CLI"]
  node_installer["Skill installer<br/>[dsh-installer.mjs]"]
end

node_agent(("Agent user"))
node_sandbase{{"SandBase API and MCP"}}
node_cli_user(("Installer user"))
node_project["DSH project skills"]

node_agent -->|"uses workflow"| node_flagship
node_flagship -->|"uses capabilities"| node_hosttools
node_flagship -->|"traces origins"| node_source_trace
node_flagship -->|"records evidence"| node_evidence
node_evidence -->|"produces report"| node_report
node_report -->|"validated by"| node_validator
node_business_skills -.->|"may use"| node_sandbase
node_registry -.->|"describes providers"| node_sandbase
node_cli_user -->|"runs"| node_cli
node_cli -->|"calls"| node_installer
node_installer -->|"copies or removes"| node_project

click node_flagship "https://github.com/sandbaseai/sandbase-skills/tree/main/research/multi-source-search"
click node_source_trace "https://github.com/sandbaseai/sandbase-skills/tree/main/research/multi-source-search"
click node_evidence "https://github.com/sandbaseai/sandbase-skills/tree/main/research/multi-source-search"
click node_validator "https://github.com/sandbaseai/sandbase-skills/blob/main/research/multi-source-search/scripts/validate_report.py"
click node_skills "https://github.com/sandbaseai/sandbase-skills/tree/main/research"
click node_business_skills "https://github.com/sandbaseai/sandbase-skills/tree/main/marketing"
click node_registry "https://github.com/sandbaseai/sandbase-skills/tree/main/integrations/sandbase-registry/data/skills/sandbase"
click node_cli "https://github.com/sandbaseai/sandbase-skills/blob/main/bin/sandbase-dsh-skills.mjs"
click node_installer "https://github.com/sandbaseai/sandbase-skills/blob/main/lib/dsh-installer.mjs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_flagship,node_hosttools,node_source_trace,node_evidence,node_report,node_validator,node_agent,node_cli_user toneBlue
class node_skills,node_business_skills,node_registry toneAmber
class node_cli,node_installer,node_sandbase toneMint
class node_project toneIndigo
```

## Components

### Research workflow

- [Multi-source search](https://github.com/sandbaseai/sandbase-skills/tree/main/research/multi-source-search): `research/multi-source-search`
- **Host search tools**
- [Source tracing](https://github.com/sandbaseai/sandbase-skills/tree/main/research/multi-source-search): `research/multi-source-search`
- [Evidence ledger](https://github.com/sandbaseai/sandbase-skills/tree/main/research/multi-source-search): `research/multi-source-search`
- **Research report**
- [Offline report validator](https://github.com/sandbaseai/sandbase-skills/blob/main/research/multi-source-search/scripts/validate_report.py): `research/multi-source-search/scripts/validate_report.py`

### Skill collection

- [Portable Agent Skills](https://github.com/sandbaseai/sandbase-skills/tree/main/research): `research`
- [Business and specialist skills](https://github.com/sandbaseai/sandbase-skills/tree/main/marketing): `marketing`
- [SandBase registry metadata](https://github.com/sandbaseai/sandbase-skills/tree/main/integrations/sandbase-registry/data/skills/sandbase): `integrations/sandbase-registry/data/skills/sandbase`

### DSH installation

- [DSH skills CLI](https://github.com/sandbaseai/sandbase-skills/blob/main/bin/sandbase-dsh-skills.mjs): `bin/sandbase-dsh-skills.mjs`
- [Skill installer](https://github.com/sandbaseai/sandbase-skills/blob/main/lib/dsh-installer.mjs): `lib/dsh-installer.mjs`

### Other components

- **Agent user**
- **SandBase API and MCP**
- **Installer user**
- **DSH project skills**

## Connections

- Agent user → Multi-source search: uses workflow (evidence: `README.md`)
- Multi-source search → Host search tools: uses capabilities (evidence: `README.md`)
- Multi-source search → Source tracing: traces origins (evidence: `README.md`)
- Multi-source search → Evidence ledger: records evidence (evidence: `README.md`)
- Evidence ledger → Research report: produces report (evidence: `README.md`)
- Research report → Offline report validator: validated by (evidence: `README.md`)
- Business and specialist skills → SandBase API and MCP: may use (evidence: `README.md`)
- SandBase registry metadata → SandBase API and MCP: describes providers (evidence: `README.md`)
- Installer user → DSH skills CLI: runs (evidence: `bin/sandbase-dsh-skills.mjs`)
- DSH skills CLI → Skill installer: calls (evidence: `bin/sandbase-dsh-skills.mjs`)
- Skill installer → DSH project skills: copies or removes (evidence: `lib/dsh-installer.mjs`)
