Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:26:30 +08:00
commit deeb9771c6
7 changed files with 129 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
{
"name": "claude-tools",
"description": "Commands for syncing CLAUDE.md, permissions allowlist, and refreshing context from CLAUDE.md files.",
"version": "1.2.2",
"author": {
"name": "Fatih Akyon"
},
"commands": [
"./commands"
]
}

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# claude-tools
Commands for syncing CLAUDE.md, permissions allowlist, and refreshing context from CLAUDE.md files.

View File

@@ -0,0 +1,12 @@
---
allowed-tools: Read
description: Refresh context with CLAUDE.md instructions
---
# Load CLAUDE.md
Read and inject CLAUDE.md content into the current context. Useful for refreshing instructions in long conversations.
1. Read `~/.claude/CLAUDE.md` (global instructions)
2. Read `CLAUDE.md` or `AGENTS.md` from the current project directory (whichever exists)
3. Acknowledge that context has been refreshed with these instructions

View File

@@ -0,0 +1,19 @@
---
description: Load frontend design skill from Anthropic
allowed-tools: WebFetch, mcp__github__get_file_contents
---
# Load Frontend Design Skill
Load the frontend-design skill from Anthropic's official Claude Code plugins to guide creation of distinctive, production-grade frontend interfaces.
Try to read the skill content using GitHub MCP if available:
- owner: anthropics
- repo: claude-code
- path: plugins/frontend-design/skills/frontend-design/SKILL.md
If GitHub MCP is not available, fetch from:
https://raw.githubusercontent.com/anthropics/claude-code/main/plugins/frontend-design/skills/frontend-design/SKILL.md
Use this guidance when building web components, pages, or applications that require high design quality and avoid generic AI aesthetics.

View File

@@ -0,0 +1,17 @@
---
allowed-tools: Read
description: Sync allowlist from GitHub repository to user settings
---
# Sync Allowlist
Fetch the latest permissions allowlist from fcakyon/claude-codex-settings GitHub repository and update ~/.claude/settings.json.
Steps:
1. Use `mcp__github__get_file_contents` to fetch `.claude/settings.json` from fcakyon/claude-settings
2. Parse the JSON and extract the `permissions.allow` array
3. Read the user's `~/.claude/settings.json`
4. Update only the `permissions.allow` field (preserve all other user settings)
5. Write back to `~/.claude/settings.json`
6. Confirm with a message showing count of allowlist entries synced

View File

@@ -0,0 +1,10 @@
---
allowed-tools: Read
description: Sync CLAUDE.md from GitHub repository
---
# Sync CLAUDE.md
Fetch the latest CLAUDE.md from fcakyon/claude-codex-settings GitHub repository and update ~/.claude/CLAUDE.md.
Use `mcp__github__get_file_contents` to fetch the file from fcakyon/claude-codex-settings with path CLAUDE.md, then write the content to ~/.claude/CLAUDE.md. Confirm successful update with a message showing the file has been synced.

57
plugin.lock.json Normal file
View File

@@ -0,0 +1,57 @@
{
"$schema": "internal://schemas/plugin.lock.v1.json",
"pluginId": "gh:fcakyon/claude-codex-settings:plugins/claude-tools",
"normalized": {
"repo": null,
"ref": "refs/tags/v20251128.0",
"commit": "8cfd88e5d77de2fdf9c120368f9ccace24a84c4b",
"treeHash": "f3f0c0ec95dee7c796f3da7c03a112a1174d826168fe470da48282edf5b63575",
"generatedAt": "2025-11-28T10:16:51.598463Z",
"toolVersion": "publish_plugins.py@0.2.0"
},
"origin": {
"remote": "git@github.com:zhongweili/42plugin-data.git",
"branch": "master",
"commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390",
"repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data"
},
"manifest": {
"name": "claude-tools",
"description": "Commands for syncing CLAUDE.md, permissions allowlist, and refreshing context from CLAUDE.md files.",
"version": "1.2.2"
},
"content": {
"files": [
{
"path": "README.md",
"sha256": "c1afa8931ea1d3375812ca1c38a19b42edc6ed01c8455def10741dc7cef63af3"
},
{
"path": ".claude-plugin/plugin.json",
"sha256": "a3431401a7bcdc17e3ff73589bc2dc4205557c2ec200e6ceb9f24ed5b4f41625"
},
{
"path": "commands/sync-claude-md.md",
"sha256": "76576ad4f6a6df24de40289fdb4b47d5f3ec1c36951b1d92aab33f1145165e06"
},
{
"path": "commands/load-frontend-skill.md",
"sha256": "ed75bdd218b65485f6e52a531394e10c19eb8233aef84dcaa5b47b5e37b1bbbc"
},
{
"path": "commands/load-claude-md.md",
"sha256": "04a6aa57282ffdd097bd973b7e0708a0446bb6d08a09b4119cfb90a106342ade"
},
{
"path": "commands/sync-allowlist.md",
"sha256": "998e98b78830059d8ea3107e89b7afad816f12781f34eaeba54af5652531c831"
}
],
"dirSha256": "f3f0c0ec95dee7c796f3da7c03a112a1174d826168fe470da48282edf5b63575"
},
"security": {
"scannedAt": null,
"scannerVersion": null,
"flags": []
}
}