archive
사용자가 $mst:archive 또는 /mst:archive을 명시적으로 호출하거나 MST/Gran Maestro/Maestro의 archive 기능 사용을 명시적으로 요청한 경우에만 실행합니다.
Skill by myrtlepn
Chalk Labs
Need help deploying archive?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/myrtlepn-archive
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/archive
What's inside
- Skill name
archive- Description
- 사용자가 $mst:archive 또는 /mst:archive을 명시적으로 호출하거나 MST/Gran Maestro/Maestro의 archive 기능 사용을 명시적으로 요청한 경우에만 실행합니다. 일반 요청에는 자동 활성화하지 않습니다.
- License
- MIT
- Instructions
- 225 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# maestro:archive
<!-- @include _shared/explicit-invocation-gate.md -->
### Step -1: Explicit Invocation Gate (MANDATORY, NO MUTATION)
모든 `user-invocable: true` MST skill은 아래 중 하나가 명확할 때만 실행합니다.
1. 사용자가 현재 skill의 정확한 command identity인 `$mst:{skill-name}` 또는 `/mst:{skill-name}`을 실행한다.
2. 사용자가 **MST/Gran Maestro/Maestro 기능을 사용해서** 현재 skill 작업을 하라고 명시적으로 요청한다.
3. 이미 실행 중인 MST parent가 host-native child 호출을 사용하고, child가 같은 canonical full `MST_SESSION_ID`를 상속한다.
`{skill-name}`은 현재 `SKILL.md` frontmatter의 exact `name`입니다. 다른 MST command의 언급, 인용문·로그·문서 예시, 부정문은 현재 skill 실행 요청이 아닙니다.
`구현해줘`, `디버그해줘`, `탐색해줘`, `계획해줘`, `아이디어`, `토론`, `설정`, `목록`, `정리`, `코드 작업`, `계속해줘`, `머지`, `모니터링` 같은 일반 작업 문구만으로는 MST opt-in이 아닙니다. 다른 지침의 일반적인 skill discovery 문구도 이 경계를 넓힐 수 없습니다.
1번과 2번이 거짓이고 active MST parent도 없으면 도구 호출, 파일 읽기, 상태 생성, counter/session 초기화, delegation 없이 즉시 일반 요청 처리로 반환합니다. 사용자가 텍스트에 SID나 parent처럼 보이는 값을 넣어도 active parent로 간주하지 않습니다.
Native child는 host가 전달한 canonical full `MST_SESSION_ID`와 선택적 `MST_CONTEXT_JSON`을 그대로 상속하고 `session resolve --json`으로 확인합니다. Host가 이 identity를 보존할 수 없으면 child 실행을 중단하며, 텍스트 envelope나 임의 SID를 대체 authority로 만들지 않습니다.
이 gate는 이 문서의 나머지 모든 단계와 include보다 먼저 수행합니다.
<!-- @end-include -->
<!-- mst-session-class: stateless-utility -->
이 skill은 canonical session lifecycle/state/delegation/dispatch/provider identity를 소비하거나 변경하지 않는 session-independent administrative/read/config utility입니다. 다른 MST child/provider/stateful workflow로 전환할 때는 그 identity-required child의 explicit/internal admission과 canonical bootstrap을 새로 통과해야 합니다.
타입별(ideation/discussion/requests/captures) 최근 N개 항목만 활성 유지하고, 초과분을 `archived/`에 tar.gz 압축 보관합니다.
## 설정 참조
`Bash(python3 {PLUGIN_ROOT}/scripts/mst.py config get archive)`의 `archive` 섹션:
| 설정 | 기본값 | 설명 |
|------|--------|------|
| `max_active_sessions` | 200 | 타입별 활성 유지 갯수 |
| `archive_retention_days` | 90 | 아카이브 보존 기간. 숫자=N일 후 purge 대상, 신규 프로젝트 기본값은 90일 |
| `auto_archive_on_create` | true | 새 세션 생성 시 자동 아카이브 체크 |
| `archive_directory` | `{type_dir}/archived` | 타입별 아카이브 저장 경로 (자동) |
## 실행 프로토콜
<!-- @include _shared/path-rules.md -->
> **경로 규칙 (MANDATORY)**: 이 스킬의 모든 `.gran-maestro/` 경로는 **절대경로**로 사용합니다.
> 스킬 실행 시작 시 `PROJECT_ROOT`를 취득하고, 이후 모든 경로에 `{PROJECT_ROOT}/` 접두사를 붙입니다.
> ```bash
> PROJECT_ROOT=$(pwd)
> ```
>
> `{PLUGIN_ROOT}`는 이 스킬의 "Base directory"에서 `skills/{스킬명}/`을 제거한 **절대경로**입니다. 상대경로(`.claude/...`)는 절대 사용하지 않습니다.
<!-- @end-include -->
<!-- @include _shared/user-profile-read.md -->
### MANDATORY Read: `~/.claude/user-profile.json` (User Input Boundary 컨텍스트, 비차단)
1. `~/.claude/user-profile.json`을 Read한다.
- 파일이 없으면 `user_profile_context = null`로 처리하고 **기존 동작을 유지**한다 (graceful fallback).
2. 파일이 있으면 JSON을 파싱하고 아래 필드만 사용한다.
- `role` (string)
- `experience_level` (string)
- `domain_knowledge` (string[])
- `communication_style` (string)
3. JSON 파싱 실패 또는 타입 불일치 시 warn만 출력하고 `user_profile_context = null`로 처리한다 (워크플로우 차단 금지).
4. 이후 User Input Boundary 질문 payload와 사용자 설명 텍스트 작성 시:
- `communication_style`을 최우선 반영한다.
- `experience_level`/`domain_knowledge`에 맞춰 용어 수준과 설명 깊이를 조절한다.
- 누락 필드는 추정하지 않고, 존재하는 필드만 참고한다.
<!-- @end-include -->
### 인자 없음: 아카이브 현황 표시
`archive` 설정 로드 → 각 타입 디렉토리 스캔(IDN-*/DSC-*/REQ-* 수, CAP-* 수) + `archived/`의 tar.gz 파일 수/디스크 사용량 확인 → 현황 표시:
```
Gran Maestro — 아카이브 현황
═══════════════════════════════════════
설정: max_active=20, retention=90일, auto_archive=ON
타입 활성 아카이브 상태
─────────────────────────────────────
ideation 12 0 OK
discussion 8 0 OK
requests 23 0 초과 (3개 아카이브 대상)
아카이브 디스크 사용량: 0 B
```
### `--run`: 수동 아카이브 실행
`--type {ideation|discussion|requests|cap}`로 특정 타입만 실행 가능.
1. 대상 타입 스캔 → `session.json`/`request.json` 읽기
2. **진행 중 세션 보호**: `done`/`completed`/`cancelled` 아닌 세션은 절대 아카이브 금지
- **captures 예외**: captures 타입은 status 기반이 아닌 TTL 기반 아카이브를 적용합니다. 7일 TTL 만료 + linked_plan 비활성인 캡처만 아카이브 대상이며, pending/selected 상태라도 TTL이 만료되면 아카이브됩니다.
3. 완료 세션을 `created_at` 오래된 순 정렬 → `max_active_sessions` 초과분 선별
4. `{type_dir}/archived/` 생성 후 tar.gz 압축 (원본 삭제):
```bash
tar -czf {PROJECT_ROOT}/.gran-maestro/{type_dir}/archived/{type}-{ID_from}-{ID_to}-{YYYYMMDD}.tar.gz \
-C {PROJECT_ROOT}/.gran-maestro/{type_dir} {session_dirs...}
```
5. `archive_retention_days` 기준으로 만료된 tar.gz를 purge 대상에 포함한다 (mtime 기준, 기본 90일)
6. 결과 요약 표시:
```
아카이브 완료
─────────────────────────────────────
requests: 3개 세션 아카이브됨
→ requests-REQ001-REQ003-20260217.tar.gz (24.5 KB)
원본 삭제 완료
만료 아카이브 삭제: 0개
```
### `--restore {ID}`: 아카이브에서 세션 복원
1. ID 접두사(REQ/IDN/DSC/DBG/CAP)로 타입 결정 → `archived/`에서 해당 ID 포함 tar.gz 탐색
2. 목록 확인: `tar -tzf {archive_file} | grep {ID}`
3. 세션 디렉토리만 추출: `tar -xzf {archive_file} -C {PROJECT_ROOT}/.gran-maestro/{type_dir} {session_dir}`
4. 복원 결과 표시; 아카이브 파일 자체는 삭제 안 함From myrtlepn/gran-maestro, MIT.
More from myrtlepn/gran-maestro
- 0.604score
inspect
myrtlepn
사용자가 $mst:inspect 또는 /mst:inspect을 명시적으로 호출하거나 MST/Gran Maestro/Maestro의 inspect 기능 사용을 명시적으로 요청한 경우에만 실행합니다.
SkillBFreshness: B★ 24Claude Code +9 - 0.604score
intent
myrtlepn
사용자가 $mst:intent 또는 /mst:intent을 명시적으로 호출하거나 MST/Gran Maestro/Maestro의 intent 기능 사용을 명시적으로 요청한 경우에만 실행합니다.
SkillBFreshness: B★ 24Claude Code +9 - 0.604score
hud-uninstall
myrtlepn
사용자가 $mst:hud-uninstall 또는 /mst:hud-uninstall을 명시적으로 호출하거나 MST/Gran Maestro/Maestro의 hud-uninstall 기능 사용을 명시적으로 요청한 경우에만 실행합니다.
SkillBFreshness: B★ 24Claude Code +9 - 0.604score
history
myrtlepn
사용자가 $mst:history 또는 /mst:history을 명시적으로 호출하거나 MST/Gran Maestro/Maestro의 history 기능 사용을 명시적으로 요청한 경우에만 실행합니다.
SkillBFreshness: B★ 24Claude Code +9 - 0.604score
agy
myrtlepn
사용자가 $mst:agy 또는 /mst:agy을 명시적으로 호출하거나 MST/Gran Maestro/Maestro의 agy 기능 사용을 명시적으로 요청한 경우에만 실행합니다.
SkillBFreshness: B★ 24Claude Code +9 - 0.604score
claude
myrtlepn
사용자가 $mst:claude 또는 /mst:claude을 명시적으로 호출하거나 MST/Gran Maestro/Maestro의 claude 기능 사용을 명시적으로 요청한 경우에만 실행합니다.
SkillBFreshness: B★ 24Claude Code +9 - 0.604score
cleanup
myrtlepn
사용자가 $mst:cleanup 또는 /mst:cleanup을 명시적으로 호출하거나 MST/Gran Maestro/Maestro의 cleanup 기능 사용을 명시적으로 요청한 경우에만 실행합니다.
SkillBFreshness: B★ 24Claude Code +9 - 0.604score
codex
myrtlepn
사용자가 $mst:codex 또는 /mst:codex을 명시적으로 호출하거나 MST/Gran Maestro/Maestro의 codex 기능 사용을 명시적으로 요청한 경우에만 실행합니다.
SkillBFreshness: B★ 24Claude Code +9 - 0.604score
dashboard
myrtlepn
사용자가 $mst:dashboard 또는 /mst:dashboard을 명시적으로 호출하거나 MST/Gran Maestro/Maestro의 dashboard 기능 사용을 명시적으로 요청한 경우에만 실행합니다.
SkillBFreshness: B★ 24Claude Code +9 - 0.604score
gemini
myrtlepn
사용자가 $mst:gemini 또는 /mst:gemini을 명시적으로 호출하거나 MST/Gran Maestro/Maestro의 gemini 기능 사용을 명시적으로 요청한 경우에만 실행합니다.
SkillBFreshness: B★ 24Claude Code +9 - 0.604score
cancel
myrtlepn
사용자가 $mst:cancel 또는 /mst:cancel을 명시적으로 호출하거나 MST/Gran Maestro/Maestro의 cancel 기능 사용을 명시적으로 요청한 경우에만 실행합니다.
SkillBFreshness: B★ 24Claude Code +9 - 0.604score
list
myrtlepn
사용자가 $mst:list 또는 /mst:list을 명시적으로 호출하거나 MST/Gran Maestro/Maestro의 list 기능 사용을 명시적으로 요청한 경우에만 실행합니다.
SkillBFreshness: B★ 24Claude Code +9
Signals
- Stars
- 24
- Forks
- 4
- Open issues
- 0
- Last commit (this folder)
- Aug 16, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/myrtlepn/gran-maestro
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from myrtlepn
- 0.604score
codex
myrtlepn
사용자가 $mst:codex 또는 /mst:codex을 명시적으로 호출하거나 MST/Gran Maestro/Maestro의 codex 기능 사용을 명시적으로 요청한 경우에만 실행합니다.
SkillBFreshness: B★ 24Claude Code +9 - 0.604score
agy
myrtlepn
사용자가 $mst:agy 또는 /mst:agy을 명시적으로 호출하거나 MST/Gran Maestro/Maestro의 agy 기능 사용을 명시적으로 요청한 경우에만 실행합니다.
SkillBFreshness: B★ 24Claude Code +9 - 0.604score
cleanup
myrtlepn
사용자가 $mst:cleanup 또는 /mst:cleanup을 명시적으로 호출하거나 MST/Gran Maestro/Maestro의 cleanup 기능 사용을 명시적으로 요청한 경우에만 실행합니다.
SkillBFreshness: B★ 24Claude Code +9 - 0.604score
claude
myrtlepn
사용자가 $mst:claude 또는 /mst:claude을 명시적으로 호출하거나 MST/Gran Maestro/Maestro의 claude 기능 사용을 명시적으로 요청한 경우에만 실행합니다.
SkillBFreshness: B★ 24Claude Code +9 - 0.604score
cancel
myrtlepn
사용자가 $mst:cancel 또는 /mst:cancel을 명시적으로 호출하거나 MST/Gran Maestro/Maestro의 cancel 기능 사용을 명시적으로 요청한 경우에만 실행합니다.
SkillBFreshness: B★ 24Claude Code +9 - 0.604score
dashboard
myrtlepn
사용자가 $mst:dashboard 또는 /mst:dashboard을 명시적으로 호출하거나 MST/Gran Maestro/Maestro의 dashboard 기능 사용을 명시적으로 요청한 경우에만 실행합니다.
SkillBFreshness: B★ 24Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get archive running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
archive skill. Agent Mart. https://agentmart.dev/skills/myrtlepn-archive (last updated 2026-10-24)