# tanasoft1/goomnet-plugin architecture

> Architecture diagram of the GitHub repository tanasoft1/goomnet-plugin, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-24). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/tanasoft1/goomnet-plugin
- Repository: https://github.com/tanasoft1/goomnet-plugin

## Overview

goomnet is a Claude Code plugin for querying and updating tasks, workspaces, and people through the goomnet API. A user request is handled by Claude using the relevant skill, with the plugin’s Bash CLI providing API access. At session start, the hook and sync script copy configured credentials to a local file that the CLI reads. The README documents these responsibilities, but no source excerpts were supplied, so command-level routing and internal API behavior are not shown.

Main entry points: [`bin/goomnet`](https://github.com/tanasoft1/goomnet-plugin/blob/main/bin/goomnet) (API CLI), [`skills/goomnet/SKILL.md`](https://github.com/tanasoft1/goomnet-plugin/blob/main/skills/goomnet/SKILL.md) (General requests), [`skills/mine/SKILL.md`](https://github.com/tanasoft1/goomnet-plugin/blob/main/skills/mine/SKILL.md) (My tasks), [`skills/workspaces/SKILL.md`](https://github.com/tanasoft1/goomnet-plugin/blob/main/skills/workspaces/SKILL.md) (Workspaces)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interaction["Claude interaction"]
  node_claude["Claude Code"]
  node_general_skill["General requests<br/>[SKILL.md]"]
end

subgraph group_domain["Workspace and task capabilities"]
  node_mine_skill["My tasks<br/>[SKILL.md]"]
  node_workspaces_skill["Workspaces<br/>[SKILL.md]"]
  node_people_skill["Workspace people<br/>[SKILL.md]"]
end

subgraph group_runtime["API runtime"]
  node_cli["API CLI"]
  node_goomnet_api{{"goomnet API"}}
end

subgraph group_credentials["Credential setup"]
  node_hook_config["Session-start hook<br/>[hooks.json]"]
  node_sync["Credential sync<br/>[sync-config.sh]"]
  node_credential_file["Local credentials"]
end

node_user(("User"))

node_user -->|"requests work"| node_claude
node_claude -->|"uses guidance"| node_general_skill
node_claude -->|"invokes command"| node_mine_skill
node_claude -->|"invokes command"| node_workspaces_skill
node_claude -->|"invokes command"| node_people_skill
node_general_skill -->|"guides use"| node_cli
node_mine_skill -.->|"uses"| node_cli
node_workspaces_skill -.->|"uses"| node_cli
node_people_skill -.->|"uses"| node_cli
node_cli -->|"calls API"| node_goomnet_api
node_hook_config -->|"runs at session start"| node_sync
node_sync -->|"writes credentials"| node_credential_file
node_cli -->|"reads credentials"| node_credential_file
node_claude -->|"provides configured credentials"| node_hook_config

click node_general_skill "https://github.com/tanasoft1/goomnet-plugin/blob/main/skills/goomnet/SKILL.md"
click node_mine_skill "https://github.com/tanasoft1/goomnet-plugin/blob/main/skills/mine/SKILL.md"
click node_workspaces_skill "https://github.com/tanasoft1/goomnet-plugin/blob/main/skills/workspaces/SKILL.md"
click node_people_skill "https://github.com/tanasoft1/goomnet-plugin/blob/main/skills/people/SKILL.md"
click node_cli "https://github.com/tanasoft1/goomnet-plugin/blob/main/bin/goomnet"
click node_hook_config "https://github.com/tanasoft1/goomnet-plugin/blob/main/hooks/hooks.json"
click node_sync "https://github.com/tanasoft1/goomnet-plugin/blob/main/scripts/sync-config.sh"

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_claude,node_general_skill,node_user toneBlue
class node_mine_skill,node_workspaces_skill,node_people_skill toneAmber
class node_cli,node_goomnet_api toneMint
class node_hook_config,node_sync,node_credential_file toneRose
```

## Components

### Claude interaction

- **Claude Code**
- [General requests](https://github.com/tanasoft1/goomnet-plugin/blob/main/skills/goomnet/SKILL.md): `skills/goomnet/SKILL.md`

### Workspace and task capabilities

- [My tasks](https://github.com/tanasoft1/goomnet-plugin/blob/main/skills/mine/SKILL.md): `skills/mine/SKILL.md`
- [Workspaces](https://github.com/tanasoft1/goomnet-plugin/blob/main/skills/workspaces/SKILL.md): `skills/workspaces/SKILL.md`
- [Workspace people](https://github.com/tanasoft1/goomnet-plugin/blob/main/skills/people/SKILL.md): `skills/people/SKILL.md`

### API runtime

- [API CLI](https://github.com/tanasoft1/goomnet-plugin/blob/main/bin/goomnet): `bin/goomnet`
- **goomnet API**

### Credential setup

- [Session-start hook](https://github.com/tanasoft1/goomnet-plugin/blob/main/hooks/hooks.json): `hooks/hooks.json`
- [Credential sync](https://github.com/tanasoft1/goomnet-plugin/blob/main/scripts/sync-config.sh): `scripts/sync-config.sh`
- **Local credentials**

### Other components

- **User**

## Connections

- User → Claude Code: requests work (evidence: `README.md`)
- Claude Code → General requests: uses guidance (evidence: `README.md`)
- Claude Code → My tasks: invokes command (evidence: `README.md`)
- Claude Code → Workspaces: invokes command (evidence: `README.md`)
- Claude Code → Workspace people: invokes command (evidence: `README.md`)
- General requests → API CLI: guides use (evidence: `README.md`)
- My tasks → API CLI: uses
- Workspaces → API CLI: uses
- Workspace people → API CLI: uses
- API CLI → goomnet API: calls API (evidence: `README.md`)
- Session-start hook → Credential sync: runs at session start (evidence: `README.md`)
- Credential sync → Local credentials: writes credentials (evidence: `README.md`)
- API CLI → Local credentials: reads credentials (evidence: `README.md`)
- Claude Code → Session-start hook: provides configured credentials (evidence: `README.md`)
