Airsc miễn phí cho tất cả. Nếu nó giúp bạn, hãy ủng hộ $2–$20.

Ủng hộ
PluginCẩn thậnQuy trình & bộ nhớ agentNâng cao

hal-9000

vinta · vinta/hal-9000

Bộ thiết lập macOS theo phong cách riêng, cài Claude Code và Codex cùng skill, plugin, rule, CLAUDE.md/AGENTS.md toàn cục và dotfile đã được siết bảo mật.

Opinionated AI coding agent and dev environment automation for macOS

138 sao25Giấy phép: MITCập nhật 13 ngày trước0 lượt mở

Xem trước

▍

Bạn có thể làm gì với nó

  • Thiết lập Mac mới với môi trường Claude Code và Codex sẵn sàng
  • Mượn CLAUDE.md và rule toàn cục của nó làm điểm khởi đầu
  • Dùng lại các agent skill và plugin statusline của nó

Kiểm tra an toàn

Cẩn thận

Dùng được, nhưng nên đọc ghi chú trước.

  • ●Trình cài đặt tải script từ xa và chạy thẳng bằng shell.README.md

Quét tự động các file trong repo. Luôn xem lại code trước khi chạy.

Trích từ README

HAL 9000

Opinionated AI coding agent and dev environment automation for macOS that dominates your dev setup like cats rule the Internet.

This project is named after Arthur C. Clarke's 2001: A Space Odyssey, a heuristic algorithmic computer designed for sentient processing and total mission control.

Bootstrap

All-in-one command to set up:

curl -sL https://raw.githubusercontent.com/vinta/hal-9000/main/bin/open-the-pod-bay-doors.sh | bash

Components

Dotfiles

Tool configs hardened against supply chain attacks and tuned for better DX:

CLAUDE.md / AGENTS.md

Dogmatic yet meticulously crafted global instructions for agentic coding:

Also see:

Skills

Agentic skills sharpened by daily use:

  • commit: Splits your changes into atomic conventional commits, hunk by hunk if needed
  • pr: Opens a PR, rewrites a PR, or waits for CI and merges it, in seconds on a cheap model
  • difference: A shortcut to answer "what's the difference? pros and cons?" very quickly
  • fuck-over-engineering: Ranks what to cut in your codebase, deletes only what you pick
  • best-practices: Searches the web for the recommended way and common gotchas
  • blindspot: Turns unknown unknowns into known unknowns, then lets you pick where to explore
  • simple-english: Rewrites text in Global English: plain words, still native-sounding
  • write-like-me: Drafts or rewrites English prose in my own voice at native fluency
  • audit-claude-settings: Audits your Claude Code settings against the latest docs
  • refactor-claude-md: Refactors a CLAUDE.md so every line earns its always-loaded cost
  • refactor-agents-md: Refactors an AGENTS.md the same way, for Codex
  • refactor-memory: Prunes stale Claude Code and Codex memories, applies only what you pick
  • refactor-skill: Refactors a skill by simplifying it instead of complicating it
# Claude Code
claude plugin marketplace add vinta/hal-9000
claude plugin install hal-skills@hal-9000

# Codex
codex plugin marketplace add vinta/hal-9000
codex plugin add hal-skills@hal-9000

If you want to use them in other coding agents:

npx skills add vinta/hal-9000

Claude Code Plugins / Mods

Plugins that wire their own hooks and run themselves:

claude plugin marketplace add vinta/hal-9000
claude plugin install hal-output-styles@hal-9000
claude plugin install hal-grammar-check@hal-9000
claude plugin install hal-session-auto-rename@hal-9000
claude plugin install hal-voice@hal-9000

Claude Code Statusline

  • hal-statusline: Show the current model, directory, git branch, and model usage status in statusline
    • Plus a grammar check on every prompt you type, with explanations in Traditional Chinese
curl -sL https://raw.githubusercontent.com/vinta/hal-9000/main/scripts/install-hal-statusline.sh | bash

CLI: hal

hal update                            # Run all Ansible roles to set up the dev environment
hal update --tags python,node         # Run specific Ansible roles
hal link ~/.zshrc                     # Move file into dotfiles/ and symlink it back
hal unlink ~/.zshrc                   # Move file back from dotfiles/ and remove the symlink
hal sync                              # Sync all links
hal sync --force                      # Same, but replace real directories sitting at link destinations
hal backup                            # Back up live data to Dropbox
hal backup --prune                    # Also delete backup files that no longer exist locally, after asking
hal restore                           # Restore live data from Dropbox (overwrites local)
hal open-the-pod-bay-doors            # Open the pod bay doors, please, HAL

Development

make insta
Xem mã nguồn trên GitHub