> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ccs.kaitran.ca/llms.txt
> Use this file to discover all available pages before exploring further.

# Shared Data

> Inspect shared commands, skills, and agents from the CCS dashboard

# Shared Data

Shared Data is the routed dashboard workspace for the reusable Claude assets
that CCS exposes across profiles: commands, skills, and agents.

## Access

```bash theme={null}
ccs config
# Sidebar -> Accounts -> Shared Data
# Direct route -> /shared
```

## What It Reads

Shared Data is an inspection layer on top of the shared asset chain:

* `~/.claude/` remains the authoritative source
* `~/.ccs/shared/` is the CCS access layer
* profile instances read shared assets through that chain

On Windows, CCS can fall back to copies when symlinks are unavailable.

## Current Layout

### Header

The current page header surfaces three live counts:

* **Total Shared** across commands, skills, and agents
* **Current tab total**
* **Visible** items after search filtering

It also shows a markdown-detail badge and an optional filter badge when a query
is active.

### Left Pane

The left pane is the browser:

* tab switcher for **Commands**, **Skills**, and **Agents**
* live item counts per tab
* search across item name, description, and path
* retry handling when list reads fail

### Right Pane

The right pane is the detail viewer:

* rendered markdown or raw content for the selected item
* item kind badge
* path and metadata display
* loading and retry states for the selected item

## Asset Discovery Rules

| Kind     | Location              | Discovery                                            |
| -------- | --------------------- | ---------------------------------------------------- |
| Commands | `~/.claude/commands/` | recursive `.md` discovery                            |
| Skills   | `~/.claude/skills/`   | directories containing `SKILL.md`                    |
| Agents   | `~/.claude/agents/`   | agent directories or standalone markdown agent files |

## Configuration Warnings

If the shared-data chain is invalid, the workspace shows a configuration alert
and points you back to:

```bash theme={null}
ccs sync
```

The page can still show partial results while counts or content retry, but a
broken shared chain should be fixed before you trust the inventory.

## CLI Parity

```bash theme={null}
ccs sync
ccs doctor
ccs auth resources <profile>
ccs auth resources <profile> --mode shared|profile-local
```

Use the dashboard when you want discovery and reading. Use the CLI when you
need repair or automation.

## Per-Profile Shared Resource Policy

Each account profile is either **shared** (plugins, settings, commands, skills,
and agents linked from `~/.claude/`) or **profile-local** (no linking; the
profile carries its own resource set, equivalent to creating with `--bare`).

Switch modes from the dashboard or CLI:

| Surface    | How                                                         |
| ---------- | ----------------------------------------------------------- |
| Dashboard  | Accounts -> profile row -> "Edit Shared Resources" dialog   |
| CLI        | `ccs auth resources <profile> --mode shared\|profile-local` |
| Inspection | `ccs auth resources <profile> [--json]`                     |

Profile-local mode is useful for sandboxed accounts that must not inherit your
global Claude plugins or skills.

## API Endpoints

| Endpoint                                | Purpose                         |
| --------------------------------------- | ------------------------------- |
| `GET /api/shared/commands`              | list shared commands            |
| `GET /api/shared/skills`                | list shared skills              |
| `GET /api/shared/agents`                | list shared agents              |
| `GET /api/shared/content?type=X&path=Y` | load selected item content      |
| `GET /api/shared/summary`               | fetch counts and symlink status |

## Related

* [Accounts Workspace](/features/dashboard/accounts-workspace)
* [CLI Commands](/reference/cli-commands)
* [File Locations](/reference/file-locations)
