Skip to content
brokenicedevPublic

About

Agent manager

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

21 Commits

Folders and files

Repository files navigation

AgentDeck

A native macOS app (SwiftUI) to see and manage the configuration of every AI coding assistant installed on your Mac — Claude Code, Cursor, Codex and Claude Desktop — globally and per project: skills, MCP servers, rules, instruction files (CLAUDE.md / AGENTS.md), agents, commands and Claude Code's memory.

  • See who sees what: which tool reads each item, in each project, including global items inherited by projects.
  • Copy items between projects and between tools, with automatic format conversion.
  • Create and install skills, MCP servers, rules, agents and commands for several tools and projects at once.
  • Marketplace: skills from GitHub repositories; MCP servers from the Claude Marketplace (hosted connectors and .mcpb extensions such as Spark) plus the official MCP registry.
  • Preview and edit any markdown item (skills, rules, agents…) from anywhere, or open it in your editor.
  • Clean up a tool (factory reset) and undo anything from the backups.
  • Interface in English (default) or Italian.

Documentation

The full user guide is built into the app. You can open it in four ways:

How Where
⌘? From anywhere in the app. Opens the topic of the page you're on.
Help › AgentDeck Help The standard macOS Help menu.
? button Top right of every page: opens the help topic for that page.
? in the menu bar panel From the AgentDeck icon at the top of the screen, even with the window closed.

The guide has a searchable list of topics: Welcome, Concepts, one topic per section of the app (Overview, Projects, Project page, Global, Libraries, Item details, Memory, Marketplace, Tools, Reads), how-tos (copying, importing, creating and installing, factory reset, backups and undo), Appearance and language, Menu bar, Shortcuts and FAQ. It follows the interface language.

What each section does

Section What you can do
Overview Summary of tools, skills, MCP servers, rules and projects.
Projects Add project folders (⌘O, drag & drop, or suggestions from Claude Code); rename, remove.
Project page The effective configuration: per tool, what it sees in the project, both the project's own items and the ones inherited from global. + makes an item available to a tool; Import… brings items from other projects.
Global The user-level configuration, valid in every project.
Skills / MCP Servers / Rules / Instructions / Agents / Commands A library per kind: every item grouped by name, where it lives, and whether copies are identical or different.
Item details Who sees it, location, other copies, content (tokens hidden), Copy to…, Delete…; for agents, Run….
Run agent Starts an agent in Terminal with any installed tool and in any folder, chosen at launch; the agent doesn't need to be installed there. Claude Code gets the definition inline (claude --agents '<json>' --agent <name> "<task>", with its tools and model); Cursor (cursor-agent) and Codex (codex) start with the agent's instructions plus the task. Shows and copies the exact command.
Memory Read, edit and delete Claude Code's per-project memories, or clear a project's memory.
Marketplace Skills from GitHub sources (anthropics/skills by default) and MCP servers from the official registry: preview, then Install… for the tools and projects you choose.
New… In every library and project page: create a skill (written, from a folder or from a GitHub link), an MCP server (local or remote), a rule, an agent or a command.
Preview (eye button) Next to items in project pages, libraries and the Copy/Import/Reset sheets: rendered markdown, Edit (with backup), Open in Editor, Show in Finder.
Skills CLI Shown when the skills CLI (skills.sh, npx skills) was used or a .agents/skills folder exists. Lists the shared skills (global and per project) with their origin from the CLI's lock file; Cursor and Codex read them natively, and a per-folder switch makes Claude Code read them too (relative links in .claude/skills, kept in sync at every refresh). Install, check, update and remove run the CLI in Terminal.
Tools Installed assistants, their global paths, and Factory Reset… (in the card's … menu).
Reads Where each tool looks for configuration: native, compatibility (e.g. Cursor reading .claude/skills) and custom paths.
Settings (⌘,) General: language, editor used to open files, menu bar icon, marketplace (on/off, GitHub access, skill sources, cache). Appearance: theme, color scheme (System / Light / Dark), density, reduce transparency/motion. Backups: restore any previous operation.
Menu bar icon Tools, projects, add project, refresh, undo the last change, help, settings.

Conversions when copying

From → to What changes
MCP → Claude Code adds "type": "http" to remote servers; ${env:X} → ${X}
MCP → Cursor ${X} → ${env:X} (keeps ${workspaceFolder} and similar)
MCP → Codex writes a [mcp_servers.name] table to the TOML; headers → http_headers
MCP → Claude Desktop local servers only (remote ones are added as connectors in the app)
Cursor rule .mdc → Claude .claude/rules/*.md globs → paths
Claude rule → Cursor paths → globs + alwaysApply
CLAUDE.md ↔ AGENTS.md copy or append

Marketplace and network

The marketplace uses the network only while its page is open (no background requests). It can be turned off in Settings › General. The only other network use is the update check (Sparkle, GitHub Releases of brokenicedev/agentdeck), which can also be turned off in Settings › General › Updates.

  • MCP servers: registry.modelcontextprotocol.io (no account needed).
  • Skills: GitHub repositories. Listing a repository costs one GitHub API request and is cached (ETag): unchanged data costs nothing. File contents come from raw.githubusercontent.com, which doesn't count against the API limit.
  • Without a token GitHub allows about 60 API requests per hour, enough for normal use. If the limit is reached the page shows until when and keeps showing cached data.
  • To raise the limit (or use private repositories): log in with the GitHub CLI (gh auth login, used automatically), or paste a read-only token in Settings › General (stored in the Keychain).
  • The cache lives in ~/Library/Caches/it.brokenice.agentdeck/marketplace and can be cleared from Settings.

Safety

  • JSON files (including ~/.claude.json) are rewritten preserving key order and every field the app doesn't know.
  • Before writing, the app checks the file hasn't changed since the preview.
  • Every change is backed up to ~/Library/Application Support/AgentDeck/Backups/<date>/<original path> and can be restored from Settings › Backups or the menu bar (Last change › Cancel).
  • A factory reset requires choosing scope and kinds explicitly and typing the tool's name.
  • Installing from the marketplace always shows the content and the source first: third-party skills can contain scripts and MCP servers run code on your Mac.

Development

Open AgentDeck.xcodeproj in Xcode: the AgentDeck scheme builds and runs the app (⌘R) and runs the AgentDeckKit tests (⌘U).

open AgentDeck.xcodeproj                       # the app (Xcode project)
(cd Packages/AgentDeckKit && swift test)       # core tests from the terminal
scripts/build-app.sh                           # builds dist/AgentDeck.app (release, ad-hoc signed)
scripts/release-dmg.sh                         # signed + notarized dist/AgentDeck-<version>.dmg

Requirements: macOS 14+, Xcode with Swift 6. Swift packages (resolved from GitHub): DeckKit (DeckLocalization, DeckDesign; pin 0.2.1 or newer within 0.x) and Sparkle (app target only, updates). The version is MARKETING_VERSION / CURRENT_PROJECT_VERSION in the project (target › General › Identity).

Layout

  • AgentDeck.xcodeproj — the app target (team Brokenice, hardened runtime, no sandbox).
  • AgentDeck/ — the SwiftUI app (Views/, Guide/).
  • Resources/ — Info.plist, AppIcon.svg (copy of suite master; source of truth: ../icons/agentdeck-icon.svg).
  • AgentDeck/Assets.xcassets — AppIcon (regenerate with swift scripts/generate_app_icons.swift) and AppToolbarMark.
  • Packages/AgentDeckKit — local Swift package with the pure logic, no UI, and its tests:
    • Catalog/Catalog.swift — the map of where each tool reads. Adding a tool or a path happens here.
    • Scanning/ — reading from disk. Copying/ — copy planning, conversions, writing.
    • Removing/, Memory/, Backup/ — deletion/factory reset, Claude Code memory, backups and restore.
    • Marketplace/ — GitHub client (cache, rate limits, Keychain/gh token), skill catalog, MCP registry.
    • Copying/Creator.swift — new items are built as virtual Claude Code items and installed through the copy engine.
    • JSON/, Parsing/ — order-preserving JSON, minimal TOML, lenient frontmatter.
    • Localization/ItalianStrings.swift — Italian dictionary registered with DeckKit DeckLocalization at launch.

New Swift files in AgentDeck/ must be added to the app target in Xcode; files in Packages/AgentDeckKit are picked up automatically by SwiftPM.

Localization

The language is chosen inside the app (Settings › General › Language), independently of macOS. English text is the key in code; other languages are dictionaries.

  • In code, wrap every user-facing string in tr("English text"). Use {1}, {2}… for values: tr("Copied {1} items", String(count)), and trCount(count, one:, other:) for plurals.
  • Add the Italian translation to Packages/AgentDeckKit/Sources/AgentDeckKit/Localization/ItalianStrings.swift (registered in AppModel.init; missing keys fall back to English).

Icons (suite ../icons/): run swift scripts/generate_app_icons.swift for dock/Finder AppIcon; toolbar mark is AppToolbarMark in the asset catalog (icons/toolbar/agentdeck).

  • The help content lives in AgentDeck/Guide/GuideContent+English.swift and GuideContent+Italian.swift: when you add or change a feature, update both.

Releasing

Updates are distributed with Sparkle through GitHub Releases of brokenicedev/agentdeck (public repository): the app reads https://github.com/brokenicedev/agentdeck/releases/latest/download/appcast.xml (SUFeedURL in Resources/Info.plist), i.e. the appcast.xml attached to the latest published release, and downloads the DMG attached to the release it points to, checking its EdDSA signature against SUPublicEDKey. The source of the appcast is appcast.xml at the root of the repository and keeps every version.

To release a version:

  1. Bump Version (MARKETING_VERSION) and Build (CURRENT_PROJECT_VERSION, always higher) in the target, commit and push.

  2. In Xcode: Product › Archive, then in the Organizer Distribute App › Direct Distribution. Xcode signs it with Developer ID and notarizes it; when it's done, Export the app (e.g. to the Desktop).

  3. Run scripts/release-dmg.sh --app <exported AgentDeck.app> --notes "What changed". It checks that the app is notarized and matches the project's version, creates dist/AgentDeck-<version>.dmg, signs it for Sparkle, adds the version to appcast.xml (download URL …/releases/download/v<version>/AgentDeck-<version>.dmg) and creates the GitHub Release v<version> on the current commit with the DMG and appcast.xml attached. If the release already exists it replaces its assets.

    Without --app the script does steps 2–3 by itself (archive, Developer ID export, notarization with notarytool), which needs the notary credentials below.

  4. Commit appcast.xml.

Options: --draft (release as a draft: apps don't see it until you publish it), --skip-publish (DMG and appcast only), --skip-notarize (local tests), --skip-sparkle (DMG only), --skip-build; see --help.

The release Mac needs:

  • brew install create-dmg;
  • gh logged in (gh auth login) with push access to brokenicedev/agentdeck;
  • Xcode signed in to the Brokenice team with access to a Developer ID Application certificate;
  • only without --app, notary credentials: xcrun notarytool store-credentials agentdeck-notary --apple-id … --team-id 9V7GQ329MP --password <app-specific password> and then export NOTARY_KEYCHAIN_PROFILE=agentdeck-notary (or NOTARY_APPLE_ID / NOTARY_TEAM_ID / NOTARY_PASSWORD);
  • the Sparkle private key, in the Keychain (account agentdeck) or as secrets/sparkle/ed25519-priv.key (gitignored). It must be the same key whose public half is in Info.plist: with a different key, installed apps reject the update. Share it only through a secure channel. To import it into the Keychain: <DerivedData>/SourcePackages/artifacts/sparkle/Sparkle/bin/generate_keys --account agentdeck -f ed25519-priv.key.

scripts/build-app.sh instead produces an ad-hoc signed app for local use: on another Mac, open it the first time with right-click › Open.

About

Agent manager

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages