MCP HubMCP Hub
SKILL·BE6A7E

tune

Necmttn
업데이트됨 6 days ago
2 조회
116
15
116
GitHub에서 보기
기타general

정보

`tune` 스킬은 세션 회고를 수행하여 후크, 검사, 도구 접근 권한과 같은 환경 개선 사항을 제안하며, 각 항목을 트라이어지 가능한 제안으로 등록합니다. 이 스킬은 원시 세션 로그를 분석하고 `ax`를 원장 시스템으로 사용합니다. 개발자는 "environment retro"와 같은 특정 구문이나 `/ax:tune` 명령어를 통해 이를 실행하여 향후 세션을 위해 자신의 설정을 최적화할 수 있습니다.

빠른 설치

Claude Code

추천
기본
npx skills add Necmttn/ax -a claude-code
플러그인 명령대체
/plugin add https://github.com/Necmttn/ax
Git 클론대체
git clone https://github.com/Necmttn/ax.git ~/.claude/skills/tune

Claude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요

문서

ax:tune - what to change in the rig after one session

The user has asked to tune the rig. You read what one session actually did, name the changes to the agent's environment (hooks, checks, steering files, tools, access) that would make the next run cheaper or safer, and file every candidate in ax so it is triageable later. The session log is the primary source; ax is the ledger.

Steps

  1. Call the Skill tool with writing-for-agents for the writing style.

  2. Locate the session. Default is the current one: the id is $CLAUDE_CODE_SESSION_ID and the log is ~/.claude/projects/<cwd-slug>/<id>.jsonl. If the user names another session, take its key. Done when you hold a path that exists.

  3. Make it reviewable in ax, scoped. Run ax ingest here in the background (the bare ax ingest walks every transcript on the machine). Watch its RSS; stop it at 4 GB and record that as a Tool economy finding against ax itself. Continue on the raw log while it runs.

  4. Build the ledger. Run python3 -I scripts/turns.py <log> (add --full to see each command). It prints one line per tool call with ERR, DENY, RETRY, AGENT, BIG flags and a summary of calls, flags and tokens. When ax has the session, add ax sessions show session:<id> --turns --json for timings. Done when every flagged line has a cause you can state.

  5. Hunt candidates in these categories, each with evidence from the ledger (turn, tool calls spent, bytes or tokens wasted) and a fix that names a file.

    • Navigation: the agent took long to find a file or fact. Fix: a pointer in auto-memory or the repo's CLAUDE.md, never a paragraph.
    • Automated checks: a mistake a linter, type check, test or filesystem check would have caught. Read the repo's own check command first (package.json scripts, CI workflow); an existing check that is unwired or broken is the finding. A repo with no pre-commit hook and no CI check is itself a finding.
    • Coding standards: classify the violation first. A mechanical one (banned API, import shape, file-location rule, a command shape) gets a deterministic check: a lint rule, a pre-commit hook, a PreToolUse hook that rewrites and allows rather than denies. Reserve prose rules for judgement calls no check can substitute for, and give them to the reviewer agent, which has the least context pressure.
    • Global AGENTS.md / CLAUDE.md: always-loaded lines that did not bear on this session. Candidates for a pointer and a doc, or deletion.
    • Tool economy: expensive calls. A BIG result, an alias or pager writing ANSI to a pipe, a denial that forced a verbatim resend, a search over the wrong tree. Fix: a rewrite hook, a tty guard, a scoped command.
    • No-ops: steering lines the model already obeys by default. Delete the sentence, not words from it.
    • Information access: a fact the agent needed and could not reach (a session id, a dev-server log, a third-party dashboard). Fix: an env var, a tee, read-only access.

    Done when each candidate has category, evidence, fix, and the file the fix lands in.

  6. Present the candidates to the user in order of severity: cost in this session first, then likelihood of recurrence. One paragraph each. End with which ones are mechanical (a check) and which need judgement (a rule).

  7. File in ax. Read PROPOSALS.md for the payload shapes. Then:

    ax retro brief --session=session:<id>          # writes .ax/tasks/retro/<id>.md
    ax retro emit --session=session:<id> --source=manual --from-file=<json>
    

    The JSON holds tried, worked, failed, next, and one proposals[] entry per candidate, shaped by its form. Set the brief's frontmatter status: completed. Done when ax improve list shows the new proposals.

  8. Apply only when asked. If the user says fix them, apply in severity order, one commit per repo, and re-run the ledger on the next session to confirm the flag class is gone.

Reference

Implementation vs review

Work goes through two stages. The implementation agent explores, writes and debugs under the most context pressure. The review agent receives a diff and has the least. Standards belong to the reviewer; the implementer gets checks and pointers.

Files

  • CLAUDE.md / AGENTS.md: loaded every turn in that repo. Navigation pointers only.
  • CODING_STANDARDS.md: read at review time. Judgement rules.
  • ~/.claude/hooks/*.sh: PreToolUse guards. Prefer permissionDecision: allow with updatedInput over deny.
  • ~/.claude/projects/<slug>/memory/: auto-memory. Pointers and machine-local facts.
  • Skills: docs whose description is a context pointer, or user-invoked commands.

GitHub 저장소

Necmttn/ax
경로: skills/tune
0
agent-memoryagent-observabilityai-agentsbunclaude-codecodex
FAQ

자주 묻는 질문

tune Skill이란 무엇인가요?

tune은(는) Necmttn이(가) 만든 Claude Skill입니다. Skill은 Claude가 필요할 때 불러오는 지침과 리소스를 묶어 추가 프롬프트 없이 tune 관련 작업을 수행할 수 있게 합니다.

tune은(는) 어떻게 설치하나요?

이 페이지의 설치 명령을 사용하세요. tune을(를) Claude Code 플러그인으로 추가하거나 저장소를 skills 디렉터리에 복제한 다음 Claude를 다시 시작해 Skill을 불러옵니다.

tune은(는) 어떤 카테고리에 속하나요?

tune은(는) 기타 카테고리에 속합니다.

tune은(는) 무료로 사용할 수 있나요?

네. tune은(는) AIMCP에 등록되어 있으며 무료로 설치할 수 있습니다.

연관 스킬

sports-betting-analyzer
기타

이 Claude Skill은 스프레드, 오버/언더, 프로프 베트를 포함한 스포츠 베팅 시장을 분석합니다. 역사적 추이와 상황별 통계를 검토하여 가치 베트를 발견하고, 교육적 목적으로 실행 가능한 권장 사항이 담긴 구조화된 마크다운 결과를 제공합니다. 개발자는 이 기능을 스포츠 베팅 분석 도구에 활용할 수 있으며, 단순히 엔터테인먼트/교육 목적으로만 설계되었음을 유의해야 합니다.

스킬 보기
llamaguard
기타

LlamaGuard는 폭력 및 혐오 발언 등 6가지 안전 범주에서 LLM 입력과 출력을 조정하기 위한 Meta의 70-80억 파라미터 모델입니다. 94-95% 정확도를 제공하며 vLLM, Hugging Face 또는 Amazon SageMaker를 사용해 배포할 수 있습니다. 이 기술을 사용하여 AI 애플리케이션에 콘텐츠 필터링 및 안전 가드레일을 손쉽게 통합하세요.

스킬 보기
cost-optimization
기타

이 Claude Skill은 리소스 적정화, 태깅 전략, 지출 분석을 통해 개발자들이 클라우드 비용을 최적화할 수 있도록 지원합니다. AWS, Azure, GCP에서 클라우드 비용을 절감하고 비용 거버넌스를 구현하기 위한 프레임워크를 제공합니다. 인프라 비용을 분석하거나, 리소스를 적정화하거나, 예산 제약을 충족해야 할 때 사용하세요.

스킬 보기
quantizing-models-bitsandbytes
기타

이 스킬은 bitsandbytes를 사용하여 LLM을 8비트 또는 4비트 정밀도로 양자화하며, 최소한의 정확도 손실로 50-75%의 메모리 감소를 달성합니다. 제한된 GPU 메모리에서 더 큰 모델을 실행하거나 추론을 가속화하는 데 이상적이며, INT8, NF4, FP4와 같은 형식을 지원합니다. 이 스킬은 HuggingFace Transformers와 통합되어 QLoRA 학습 및 8비트 옵티마이저를 가능하게 합니다.

스킬 보기