More screenshots

    Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIGitHub CopilotGitHub CopilotGemini CLIGemini CLI+20 more

    ZCode Widget Builder — Floating macOS Dashboard

    1

    Build a floating macOS menu-bar dashboard for ZCode: live token usage stats, skill/plugin pickers, and a visual model-provider editor.

    $5

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    0 installsSecurity scanned
    ZCode Widget Builder — Floating macOS Dashboard

    ZCode Widget Builder — Floating macOS Dashboard

    Example session with this skill installed

    Build a floating macOS dashboard for ZCode that shows my token usage from the last 7 days and lets me browse my installed skills.

    • Read your context and instructions
    • Compiled the zcode widget builder

    I have scaffolded a native macOS accessory app using SwiftUI and GRDB to monitor your ZCode environment. The project includes a KeyablePanel for text input support and a TokenUsageRepository for the 7-day aggregate queries.

    ZCode Widget Scaffold

    // Sources/ZCodeWidget/Data/TokenUsageRepository.swift
    import Foundation
    import GRDB
    
    struct DailyUsage: Decodable, FetchableRecord {
        let day: String
        let inputTokens: Int
        let outputTokens: Int
    }
    
    class TokenUsageRepository {
        func getLastSevenDays() throws -> [DailyUsage] {
            try Database.shared.queue.read { db in
                let sql = """
                SELECT 
                    date(started_at / 1000, 'unixepoch') as day,
                    SUM(input_tokens) as inputTokens,
                    SUM(output_tokens) as outputTokens
                FROM turn_usage
                WHERE started_at >= ?
                GROUP BY day
                ORDER BY day DESC
                LIMIT 7
                """
                let oneWeekAgo = Int64(Date().addingTimeInterval(-7 * 24 * 60 * 60).timeIntervalSince1970 * 1000)
                return try DailyUsage.fetchAll(db, sql: sql, arguments: [oneWeekAgo])
            }
        }
    }
    

    Next steps

    1. Run xcodegen generate in the root directory to create the Xcode project.
    2. Execute ./install.sh to build and move the app to your /Applications folder.
    3. Use the menu bar icon to toggle the panel and verify database permissions.

    Connects securely to your tools. The creator never sees your data.

    What you get

    Monitor real-time token spend via a menu bar dashboardManage ZCode model providers through a visual configuration editorSearch and copy skill commands from a persistent floating windowFix provider relay errors with automated header patching

    About this skill

    The problem

    Monitoring ZCode token usage and managing provider configurations requires digging through CLI databases or JSON files. Developers lack a native, glanceable interface for real-time stats and visual model management.

    What it does

    • Builds a native SwiftUI + AppKit floating panel that lives in the macOS menu bar.
    • Connects to the local ZCode SQLite database via GRDB for read-only usage tracking.
    • Implements an FSEvents watcher for live token updates from JSONL logs.
    • Provides a surgical configuration editor for config.json that preserves unknown metadata keys.
    • Generates an automated XcodeGen manifest and installation scripts for a clean build pipeline.

    Frameworks & tools

    SwiftUI, AppKit (NSPanel), GRDB.swift, XcodeGen, SQLite, and FSEvents.

    Why this beats prompting it yourself

    Standard LLMs often fail at specific macOS windowing nuances, such as making borderless panels keyable for text input or managing the LSUIElement lifecycle. This skill includes pre-tested boilerplate for ZCode's specific database schema and timestamp conversions that prevent common data-type mismatches.

    How to install

    Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.

    ~30 seconds
    1. 1

      Download the ZIP

      Free skills download straight away. Paid skills unlock right after purchase.

    2. 2

      Unzip into your skills folder

      Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.

    3. 3

      Ask your agent to use it

      Restart the agent if it was already running. It picks the skill up automatically - no config needed.

    Skills folder by agent

    Click the path to copy it. Create the folder if it does not exist yet.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean 1 day ago

    • Passed all security checks, Safe to install

    Listed1 day ago

    Frequently Asked Questions