agentleFS
treylomtreylom/ThisCode/skills/bootstrap/SKILL.md

bootstrap

Skill39 starsChanged 3 months agoMITView on GitHub

Use when setting up a fresh Claude Code environment with Discord bot integration on WSL/Linux/macOS. Guides the user through environment detection, package installation, tmux setup with oh-my-tmux, Claude Code installation, and first bot wizard initialization.

  • Pipes a download into a shell

46 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use tasks, plan and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • genomewalkerSkill

    tasks

    Browse and resume tasks, threads, and background jobs across sessions

    Also in 3 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 5 projects that use this

  • Microsoft AzureSkill

    design

    Design rules and conventions for the API Center Portal. Use when editing detail pages, card components, badges, layout, navigation, sidebars, or headers. Covers badge styling, metadata placement, page navigation patterns, and layout alignment.

    Also in 4 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 7 projects that use this

  • ElasticSkill

    create-skill

    Interactively create a new Claude Code skill and add it to the elastic-docs-skills catalog. Use when the user wants to generate a new skill, scaffold a slash command, or build automation for docs tasks.

    Also in 3 projects that use this

  • Microsoft AzureSkill

    reflect

    Learning capture system that extracts HIGH/MED/LOW confidence patterns from conversations to prevent repeating mistakes. Use after user corrections ("no", "wrong"), praise ("perfect", "exactly"), or when discovering edge cases. Complements .squad/agents/{agent}/history.md and .squad/decisions.md.

    Also in 3 projects that use this

  • +1 more from Azure

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 41 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill during initial setup to guide environment detection and automated installation.

    line 147

“Common” is measured: kept by at least 6 in 10 of the 41 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

thiscode bootstrap

사용 시점: 새 머신에 Claude Code + Discord 봇 통합 환경을 처음 세팅할 때.

본 skill 은 install.sh 8-step 자동화 + 첫 봇 wizard 진입을 안내합니다. agent 가 사용자의 OS·환경을 인식하고 단계별로 명령을 제시합니다.


무엇을 하는 skill 인가

  1. 환경 인식 — uname + /proc/version + 패키지 매니저 자동 detect
  2. install.sh 실행 — 8-step 자동화 (tmux + nvm + Node.js LTS + Claude Code + oh-my-tmux)
  3. Claude Code 인증 — claude auth login 브라우저 OAuth
  4. 첫 봇 wizard 시동 — 추후 /thiscode:start 슬래시 커맨드 (v0.2)

단계별 안내

Step A. 환경 점검 (사용자 input 0회)

uname -s                     # 🐧 👤 → "Linux" 또는 "Darwin"
grep -i microsoft /proc/version 2>/dev/null && echo "WSL 감지"
command -v tmux git curl     # 기본 도구 확인

agent 는 위 출력으로 OS / WSL / 패키지 매니저를 자동 판단합니다.

Step B. install.sh 실행 (사용자 input 1회)

다음 명령을 사용자에게 제시:

curl -fsSL https://raw.githubusercontent.com/treylom/ThisCode/main/install.sh | bash

또는 git clone 후 로컬 실행:

git clone https://github.com/treylom/ThisCode.git ~/code/thiscode
cd ~/code/thiscode && bash install.sh

install.sh 가 자동으로 다음 진행:

  1. 환경 detect (WSL / Linux / macOS)
  2. 필수 패키지 (tmux + git + curl + jq + build-essential)
  3. nvm + Node.js LTS
  4. Claude Code 전역 설치
  5. oh-my-tmux (gpakosz/.tmux) 자동 install
  6. (선택) thiscode 의 tmux.conf.local 적용 — user confirm 후 백업 자동
  7. Claude Code plugin install 안내
  8. 첫 봇 wizard 안내

Step C. Claude Code 인증

claude auth login                          # 🐧 👤 → 브라우저 인증
claude --version                           # 검증 → "2.x.x" 출력

Step D. 첫 봇 wizard 진입

tmux new-session -s claude                 # 🐧 👤
cd ~/<project> && claude                   # 🐧 🤖

Claude Code 안에서:

/thiscode:start                       # 🤖 wizard 진입 (v0.2 에 신설 예정)

wizard 가 단계별 안내:

  • Discord 봇 생성 (Developer Portal 이동)
  • 봇 토큰 입력
  • 첫 봇 페르소나 결정 (soul.md template)
  • 페어링 + 첫 대화 검증

커맨드 범례

아이콘의미
🐧WSL Ubuntu / Linux 터미널
🤖Claude Code 가 자동 실행
👤사용자가 직접 입력
✅성공
❌→✅실패 후 수정

트러블슈팅

증상대응
nvm: command not found새 터미널 완전히 닫고 다시 열기 (source ~/.bashrc 안 될 수 있음)
permission denied on install.shchmod +x install.sh 또는 bash install.sh
tmux 중첩 오류이미 tmux 안 → Ctrl+B → c 새 window
claude auth login 브라우저 안 열림출력된 URL 을 수동으로 브라우저에 붙여넣기
Discord 봇 페어링 코드 만료봇에 다시 DM → 새 코드

추가 참고


호환성 정보

본 SKILL.md 는 agentskills.io 표준 을 따릅니다 (name + description core 2 키). 따라서 다음 agent 런타임에서 cross-tool 호환:

Agent인식
Claude Code✅ primary
Hermes Agent (NousResearch)✅ metadata.hermes 확장 인식
Codex CLI / Cursor / Gemini CLI / Goose / OpenCode 등✅ core frontmatter 호환

확장 필드 (metadata.hermes.tags, compatibility)는 추가됐을 때 본 도구에서 활용, 다른 표준 client 에선 자동 무시 (forward-compatible).


How to Use This Skill

Use this skill during initial setup to guide environment detection and automated installation. It handles package installation, tmux configuration, Claude Code authentication, and prepares your system for bot operations.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.