SkillDeck: Instructions file for Claude Code

CLAUDE.md

SkillDeck CLAUDE.md is an instructions file for Claude Code from crossoverJie/SkillDeck. It costs 1,997 tokens per session, scanned A, original, MIT.

A set of project instructions for Claude Code, an AI coding assistant, working on a Swift and macOS application.

In plain words
What is it for?
Use it when developing the application, explaining Swift or macOS-specific code, running builds, launching it, or running its tests.
Why use it?
It gives the assistant the project’s coding conventions, required comments, architecture notes, and commands for building and testing, reducing guesswork during code changes.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is crossoverJie/SkillDeck's own configuration. It tells Claude Code how to work on SkillDeck itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything SkillDeck configures →

Reuse

Borrowing it

Nothing to install: this file belongs to crossoverJie/SkillDeck. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/crossoverJie/SkillDeck/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/crossoverJie/SkillDeck

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for SkillDeck CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/crossoverjie/skilldeck/claude-md/github.svg)](https://agentmods.dev/instructions/crossoverjie/skilldeck/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/crossoverjie/skilldeck/claude-md"><img src="https://agentmods.dev/badge/instructions/crossoverjie/skilldeck/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for SkillDeck CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/crossoverjie/skilldeck/claude-md"><img src="https://agentmods.dev/badge/instructions/crossoverjie/skilldeck/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,997 This file is loaded in full into every session.
When invoked 1,997 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01997 $0.01997
Opus 5.5 $0.00799 $0.00799
Sonnet 5.5 $0.00399 $0.00399
Haiku 4.5 $0.00200 $0.00200

Measured 16d ago against content hash aa249ede4df4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

SkillDeck CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 16d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 131 lines

How it starts

The opening of the file, as written. The whole thing — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Code Style: Comments Required

The author has extensive Java/Golang/Python experience but is new to Swift and macOS app development. All generated code must include detailed comments in English explaining:

  • Swift-specific syntax and language features (e.g., @Observable, actor, some View, property wrappers)
  • SwiftUI concepts and view lifecycle (e.g., .task, .environment(), NavigationSplitView)
  • macOS/Apple platform APIs (e.g., NSWorkspace, DispatchSource, FileManager)
  • Why a particular Swift pattern is used when it differs from the Java/Go/Python equivalent

Build & Run Commands

swift build                  # Development build
swift build -c release       # Optimized release build
swift run SkillDeck          # Build and launch the app
open Package.swift           # Open in Xcode (Cmd+R to run)
swift test                   # Run all tests
swift test --filter SkillMDParserTests                    # Run one test class
swift test --filter SkillMDParserTests/testParseStandardSkillMD  # Run one test method
swift package clean          # Clean build artifacts

First build downloads dependencies (Yams, swift-markdown, swift-collections).

Architecture

MVVM with @Observable (macOS 14+). The filesystem is the database — skills are directories containing SKILL.md files.

Views → ViewModels (@Observable) → SkillManager (@Observable) → Services (actor)

SkillManager (Services/SkillManager.swift) is the central orchestrator — injected into the view tree via .environment(). It coordinates all sub-services and exposes the public API that ViewModels call.

Services use Swift actor for thread-safe file system access:

  • SkillScanner — scans ~/.agents/skills/ and per-agent directories, deduplicates via symlink resolution
  • LockFileManager — reads/writes ~/.agents/.skill-lock.json with atomic writes and caching
  • AgentDetector — detects installed agents by checking CLI binaries (which) and config directories
  • SymlinkManager — static methods for creating/removing symlinks between canonical and agent directories
  • FileSystemWatcher — DispatchSource/FSEvents monitoring with 0.5s debounce, publishes via Combine
  • GitService — executes git CLI operations (clone, pull, fetch) for GitHub-based skill installs
  • UpdateChecker — compares local vs remote commit hashes to detect skill updates
  • SkillRegistryService — fetches skills from skills.sh registry API
  • ClawHubService — fetches skills from ClawHub catalog for OpenClaw
  • TranslationService — inline Chinese translation of skill docs (macOS 26+ Translation framework)
  • KeychainService — stores/retrieves proxy credentials from macOS Keychain
  • NetworkSessionProvider — provides URLSession instances with proxy configuration applied

Read the full file on GitHub · 131 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 16d ago Changed · +11 tokens per session aa249ede4df4
  2. 2mo ago First seen · 131 lines · 1,986 tokens per session scan A a810c92bbf1e

Subscribe to this mod's changes

SkillDeck CLAUDE.md is an instructions file published in the GitHub repository crossoverJie/SkillDeck (592 stars, last pushed 11d ago), licensed MIT. It adds 1,997 tokens to every session, about $0.0080 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

SkillDeck CLAUDE.md compared with instructions from other repositories

SkillDeck CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
SkillDeck CLAUDE.mdcrossoverJie/SkillDeckInstructions file59211d agoMITA1,997Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode