refactor: unify claude-cowork into claude directory
Consolidates the repository structure: - Move skills/ to claude/skills/ - Move collection hooks to claude/collection/ - Update CLAUDE.md to reflect unified structure Public version remains at core-claude; this is the advanced in-house version. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
7faa974546
commit
9f1950c231
66 changed files with 22 additions and 21 deletions
43
CLAUDE.md
43
CLAUDE.md
|
|
@ -4,32 +4,33 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
**core-agent** contains Claude Code plugins and data collection skills for the Host UK federated monorepo. It has two main components:
|
**core-agent** is the advanced in-house Claude Code plugin for the Host UK federated monorepo. The public version lives at `core-claude`.
|
||||||
|
|
||||||
1. **claude/** - Claude Code plugin with hooks, commands, and automation scripts
|
This repository contains:
|
||||||
2. **claude-cowork/** - Data collection skills for archiving blockchain/cryptocurrency research
|
- Claude Code hooks, commands, and automation scripts
|
||||||
|
- Data collection skills for archiving OSS project data across platforms (since 2019)
|
||||||
|
|
||||||
## Repository Structure
|
## Repository Structure
|
||||||
|
|
||||||
```
|
```
|
||||||
core-agent/
|
core-agent/
|
||||||
├── claude/ # Claude Code plugin
|
└── claude/
|
||||||
│ ├── hooks/hooks.json # Hook definitions
|
├── hooks/ # Claude Code hooks
|
||||||
│ ├── hooks/prefer-core.sh # PreToolUse: block dangerous commands
|
│ ├── hooks.json # Hook definitions
|
||||||
│ ├── scripts/ # Automation scripts
|
│ └── prefer-core.sh # PreToolUse: block dangerous commands
|
||||||
│ │ ├── pre-compact.sh # Save state before compaction
|
├── scripts/ # Automation scripts
|
||||||
│ │ ├── session-start.sh # Restore context on startup
|
│ ├── pre-compact.sh # Save state before compaction
|
||||||
│ │ ├── php-format.sh # Auto-format PHP after edits
|
│ ├── session-start.sh # Restore context on startup
|
||||||
│ │ ├── go-format.sh # Auto-format Go after edits
|
│ ├── php-format.sh # Auto-format PHP after edits
|
||||||
│ │ └── check-debug.sh # Warn about debug statements
|
│ ├── go-format.sh # Auto-format Go after edits
|
||||||
│ └── commands/
|
│ └── check-debug.sh # Warn about debug statements
|
||||||
│ └── remember.md # /core:remember command
|
├── commands/
|
||||||
│
|
│ └── remember.md # /core:remember command
|
||||||
└── claude-cowork/ # Data collection skills
|
├── collection/ # Data collection event hooks
|
||||||
├── hooks/ # Collection event hooks
|
│ ├── hooks.json # Collection hook registration
|
||||||
│ ├── hooks.json # Hook registration
|
│ ├── dispatch.sh # Hook dispatcher
|
||||||
│ └── dispatch.sh # Hook dispatcher
|
│ └── *.sh # Event handlers
|
||||||
└── skills/ # Collection skills
|
└── skills/ # Data collection skills
|
||||||
├── ledger-papers/ # Whitepaper archive (91+ papers)
|
├── ledger-papers/ # Whitepaper archive (91+ papers)
|
||||||
├── project-archaeology/ # Dead project excavation
|
├── project-archaeology/ # Dead project excavation
|
||||||
├── bitcointalk/ # BitcoinTalk thread collection
|
├── bitcointalk/ # BitcoinTalk thread collection
|
||||||
|
|
@ -124,7 +125,7 @@ echo '{"tool_input": {"command": "rm -rf /"}}' | bash ./claude/hooks/prefer-core
|
||||||
Each skill follows this pattern:
|
Each skill follows this pattern:
|
||||||
|
|
||||||
```
|
```
|
||||||
skills/<name>/
|
claude/skills/<name>/
|
||||||
├── SKILL.md # Documentation
|
├── SKILL.md # Documentation
|
||||||
├── discover.sh # Job generator (outputs URL|FILENAME|TYPE|METADATA)
|
├── discover.sh # Job generator (outputs URL|FILENAME|TYPE|METADATA)
|
||||||
├── process.sh # Job processor (optional)
|
├── process.sh # Job processor (optional)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue