Aleph
Architecture

ClawHub

Historical reference: ClawHub survives in the Hub catalog as a `via: "clawhub"` provenance label; the `src/clawhub/` module has been removed.

Removed — historical reference. The src/clawhub/ module no longer exists in the source tree. ClawHub's dedicated Settings tab has been removed; its discovery role is subsumed into the Extensions Store, which browses Skills, Plugins, and MCP servers under one Extension umbrella by functional category.

ClawHub is still reachable through the Hub catalog's long-tail provenance label: src/hub/types.rs::ExtensionProvenance::via = "clawhub" (see the via: "clawhub" wire shape in src/hub/catalog_client.rs::CatalogEntry.via tests). The Store Agent reads a URL / repo for installs that no curated source covers. The structure below is retained as historical reference.


Historical overview

ClawHub integration previously let Aleph:

  • Browse skills — search and discover community skills
  • Install skills — download and install from the registry
  • Sync metadata — keep skill metadata up to date

Historical architecture (removed)

ClawHubClient  (src/clawhub/client.rs — removed)
  ├── HTTP client (reqwest)
  ├── Types — request/response schemas   (src/clawhub/types.rs — removed)
  └── Authentication (API tokens)

Historical ClawHubClient (removed)

pub struct ClawHubClient {
    pub base_url: String,
    pub client: reqwest::Client,
    pub auth_token: Option<String>,
}

impl ClawHubClient {
    pub fn new(base_url: String) -> Self;

    pub async fn search_skills(&self, query: &str) -> Result<Vec<SkillListing>>;
    pub async fn get_skill(&self, id: &str) -> Result<SkillDetail>;
    pub async fn download_skill(&self, id: &str, dest: &Path) -> Result<()>;
}

Today's reachability path

  • Hub catalog (src/hub/) is the Extension discovery layer
  • ClawHub content flows into the Hub catalog with the via: "clawhub" provenance label (the catalog_client.rs tests assert the wire via field explicitly)
  • The compatible ClawHub namespace is still recognized (see src/skill/guard.rs::is_hidden_dir and src/tools/markdown_skill/spec.rs)
  • The first-class sources are now the Claude / Aleph plugin marketplaces, the Official MCP Registry, and the Docker MCP Catalog

Historical RPCs

Historically clawhub.search / clawhub.browse / clawhub.detail / clawhub.install were exposed. Those endpoints are removed from the current source.

See Also

On this page