portable-skill-learning 0.1.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. portable_skill_learning-0.1.1/LICENSE +21 -0
  2. portable_skill_learning-0.1.1/PKG-INFO +429 -0
  3. portable_skill_learning-0.1.1/README.md +418 -0
  4. portable_skill_learning-0.1.1/pyproject.toml +25 -0
  5. portable_skill_learning-0.1.1/setup.cfg +4 -0
  6. portable_skill_learning-0.1.1/src/portable_skill_learning/__init__.py +1 -0
  7. portable_skill_learning-0.1.1/src/portable_skill_learning/adapters/__init__.py +1 -0
  8. portable_skill_learning-0.1.1/src/portable_skill_learning/adapters/antigravity.py +243 -0
  9. portable_skill_learning-0.1.1/src/portable_skill_learning/adapters/claude.py +219 -0
  10. portable_skill_learning-0.1.1/src/portable_skill_learning/adapters/codex.py +280 -0
  11. portable_skill_learning-0.1.1/src/portable_skill_learning/assessment.py +85 -0
  12. portable_skill_learning-0.1.1/src/portable_skill_learning/cli.py +250 -0
  13. portable_skill_learning-0.1.1/src/portable_skill_learning/install.py +331 -0
  14. portable_skill_learning-0.1.1/src/portable_skill_learning/probe.py +117 -0
  15. portable_skill_learning-0.1.1/src/portable_skill_learning/replay.py +470 -0
  16. portable_skill_learning-0.1.1/src/portable_skill_learning/schedule.py +72 -0
  17. portable_skill_learning-0.1.1/src/portable_skill_learning/store.py +369 -0
  18. portable_skill_learning-0.1.1/src/portable_skill_learning/trials.py +294 -0
  19. portable_skill_learning-0.1.1/src/portable_skill_learning/worker.py +144 -0
  20. portable_skill_learning-0.1.1/src/portable_skill_learning.egg-info/PKG-INFO +429 -0
  21. portable_skill_learning-0.1.1/src/portable_skill_learning.egg-info/SOURCES.txt +29 -0
  22. portable_skill_learning-0.1.1/src/portable_skill_learning.egg-info/dependency_links.txt +1 -0
  23. portable_skill_learning-0.1.1/src/portable_skill_learning.egg-info/entry_points.txt +2 -0
  24. portable_skill_learning-0.1.1/src/portable_skill_learning.egg-info/top_level.txt +1 -0
  25. portable_skill_learning-0.1.1/tests/test_adapter_contract.py +168 -0
  26. portable_skill_learning-0.1.1/tests/test_antigravity.py +196 -0
  27. portable_skill_learning-0.1.1/tests/test_claude.py +132 -0
  28. portable_skill_learning-0.1.1/tests/test_install.py +133 -0
  29. portable_skill_learning-0.1.1/tests/test_replay.py +205 -0
  30. portable_skill_learning-0.1.1/tests/test_store.py +116 -0
  31. portable_skill_learning-0.1.1/tests/test_trial_lifecycle.py +97 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 GIY0201
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,429 @@
1
+ Metadata-Version: 2.4
2
+ Name: portable-skill-learning
3
+ Version: 0.1.1
4
+ Summary: Locally scoped skill trials and replay evidence
5
+ License-Expression: MIT
6
+ Project-URL: Repository, https://github.com/GIY0201/Improve-Skills-loop-System
7
+ Requires-Python: >=3.11
8
+ Description-Content-Type: text/markdown
9
+ License-File: LICENSE
10
+ Dynamic: license-file
11
+
12
+ # Improve-Skills-loop-System
13
+
14
+ [English](#english) | [한국어](#한국어)
15
+
16
+ ## English
17
+
18
+ Improve-Skills-loop-System turns the corrections you give a coding agent into
19
+ skill updates and tests each update before you keep it. It runs locally with
20
+ Codex, Claude Code, Antigravity and Traycer, and stores skill versions and test
21
+ results in a local SQLite database.
22
+
23
+ ### Where the design comes from
24
+
25
+ The engine combines ideas from two projects.
26
+
27
+ [Hermes Agent](https://github.com/NousResearch/hermes-agent) by Nous Research
28
+ writes its own skills while it works. When it finds a working path after errors,
29
+ or when the user corrects its approach, it saves the procedure as a skill and
30
+ loads that skill on later tasks of the same kind. A background review after each
31
+ turn can also propose skill changes. Hermes does not rerun tasks to check whether
32
+ a change helped.
33
+
34
+ [SkillOpt](https://github.com/microsoft/SkillOpt) from Microsoft trains a skill
35
+ document with scored runs. The agent runs tasks with the current skill, a
36
+ separate model turns the results into small edits, and an edit is accepted only
37
+ if it raises the score on tasks that were held out. SkillOpt-Sleep runs this
38
+ process overnight on past sessions of local coding agents. The method needs tasks
39
+ that can be scored, and each candidate edit costs extra model calls.
40
+
41
+ From Hermes Agent, this engine takes learning during work. A correction becomes a
42
+ trial version of the skill the same day, and the agent uses it on the next
43
+ matching task. From SkillOpt, it takes the acceptance test. In the evening the
44
+ previous version and the trial run on the same input, and the engine recommends
45
+ keeping the trial only when its scores improve by more than the spread between
46
+ repeated scorings.
47
+
48
+ ### How it works
49
+
50
+ During the day:
51
+
52
+ 1. Send a correction as a message of its own in the format below. The agent
53
+ follows it in that turn. `verification` is a project file the task writes,
54
+ and `expected` is a line that file must contain.
55
+
56
+ ```text
57
+ SKILL CORRECTION <skill-name>
58
+ trigger: <words that identify the task>
59
+ procedure: <steps to follow>
60
+ verification: <file path relative to the project>
61
+ expected: <line the file must contain>
62
+ ```
63
+
64
+ 2. After the turn, run `skill-learning work --project .`. The engine reads the
65
+ client's own transcript and creates a new skill version only if the turn
66
+ completed, the file changed during the turn and the file contains the
67
+ expected line. The new version starts as a trial, and the previous version
68
+ stays available.
69
+ 3. When a later request to the same tool contains the trigger, the hook asks the
70
+ agent to read the trial version. The engine records the read and the SHA-256
71
+ of the file that was read.
72
+
73
+ In the evening:
74
+
75
+ 4. `skill-learning review` takes a fixed input from a manifest file and runs it
76
+ in isolated Codex or Claude Code sessions, once with the previous version and
77
+ once with the trial. If some runs fail, the finished results are kept and a
78
+ resumed review runs only the missing ones.
79
+ 5. `skill-learning assess` records scores from readers who do not know which
80
+ version produced each output. From these scores the engine recommends keeping
81
+ the trial, extending it or rolling it back. Apply the result with `keep` or
82
+ `rollback`.
83
+ 6. On Windows, `skill-learning schedule` registers the review in Task Scheduler.
84
+ If the computer is asleep at the scheduled time, the review runs after it
85
+ wakes.
86
+
87
+ A skill version learned in one tool can be tried in another tool of the same
88
+ project with `skill-learning activate --confirm-compatible`. In testing, Codex
89
+ read a trial version created from a Claude Code correction.
90
+
91
+ ### Install and connect a project
92
+
93
+ Install [uv](https://docs.astral.sh/uv/getting-started/installation/) and set up
94
+ the AI clients you want to use. The package requires Python 3.11 or newer, and uv
95
+ downloads one if none is installed. Open a terminal in the project you want to
96
+ connect.
97
+
98
+ ```text
99
+ uv tool install portable-skill-learning
100
+ skill-learning setup
101
+ ```
102
+
103
+ If the terminal cannot find `skill-learning`, run `uv tool update-shell` and
104
+ open a new terminal. To install and connect the current project in one line:
105
+
106
+ **PowerShell**
107
+
108
+ ```powershell
109
+ uv tool install portable-skill-learning; if ($LASTEXITCODE -eq 0) { & (Join-Path (uv tool dir --bin) "skill-learning.exe") setup }
110
+ ```
111
+
112
+ **Bash or Zsh**
113
+
114
+ ```sh
115
+ uv tool install portable-skill-learning && "$(uv tool dir --bin)/skill-learning" setup
116
+ ```
117
+
118
+ `setup` detects local clients and binds their transcript directories. It adds
119
+ the engine's hooks to the three project settings files below and preserves
120
+ existing settings and hook entries. You can preview the changes or limit the
121
+ installation to particular clients:
122
+
123
+ ```text
124
+ skill-learning setup --dry-run
125
+ skill-learning setup --project <project-folder> --target codex --target traycer
126
+ skill-learning doctor --project .
127
+ ```
128
+
129
+ Reopen the project or start a new session after setup. Follow the client's
130
+ official trust prompts before running hooks. In Codex, review the definitions
131
+ with `/hooks`. Setup does not approve hooks, sign in, or create a scheduled task.
132
+ The generated project settings contain machine-specific paths. Keep these
133
+ entries local when committing shared settings files.
134
+
135
+ #### Choose clients with `--target`
136
+
137
+ Without `--target`, `setup` connects every client it detects. Repeat
138
+ `--target` to connect only the clients you name.
139
+
140
+ | `--target` | Connects |
141
+ | --- | --- |
142
+ | `codex` | Codex CLI |
143
+ | `claude` | Claude Code |
144
+ | `antigravity` | Antigravity App and CLI, if their folders exist |
145
+ | `traycer` | Traycer Codex and Claude Code, plus ACP import if found |
146
+ | `traycer-acp` | Traycer Antigravity ACP import only, without hook files |
147
+
148
+ `traycer` covers Traycer's default and managed profiles. It does not include the
149
+ standalone Codex CLI or Claude Code, so add `--target codex` or `--target claude`
150
+ for those. For example, `--target codex --target traycer` connects Codex CLI and
151
+ Traycer's Codex and Claude Code. It also adds ACP import when Traycer Antigravity
152
+ is installed.
153
+
154
+ #### If no client is detected
155
+
156
+ If `setup` prints `No supported client found`, it found neither a client folder
157
+ in your home directory nor a client command on `PATH`. Start the client once and
158
+ run `setup` again, or name the client with `--target`:
159
+
160
+ ```text
161
+ skill-learning setup --target codex
162
+ skill-learning setup --target claude
163
+ ```
164
+
165
+ `codex` and `claude` connect even before the client's first run. They use
166
+ `~/.codex/sessions` and `~/.claude/projects`, or the folders set by `CODEX_HOME`
167
+ and `CLAUDE_CONFIG_DIR`. Antigravity has no such fallback, so start it once
168
+ before running `setup`.
169
+
170
+ ### Supported connections
171
+
172
+ | Client | Project settings | Available workflow |
173
+ | --- | --- | --- |
174
+ | Codex CLI and Traycer Codex | `.codex/hooks.json` | Automatic event intake and trial notices, local verification and replay |
175
+ | Claude Code and Traycer Claude Code | `.claude/settings.json` | Automatic event intake and trial notices, local verification and replay |
176
+ | Antigravity App and CLI | `.agents/hooks.json` | Input observation and opt-in trial notices with native file-read evidence |
177
+ | Traycer Antigravity ACP | Transcript binding | Import a selected transcript. Automatic trial application and replay are unsupported. |
178
+
179
+ Traycer's ambient connections use the default Codex and Claude homes. Managed
180
+ connections are detected from local Traycer account profiles with an existing
181
+ sessions or projects directory. If you use a custom transcript directory, bind it
182
+ explicitly with `skill-learning bind --help`. For ACP, select a transcript from the
183
+ registered project and pass its full path to the importer:
184
+
185
+ ```text
186
+ skill-learning import-antigravity --project . --profile traycer-acp --transcript <transcript_full.jsonl>
187
+ ```
188
+
189
+ ### Update
190
+
191
+ Run this from any folder. Connected projects keep their hooks, so you do not
192
+ need to run `setup` again.
193
+
194
+ ```text
195
+ uv tool upgrade portable-skill-learning
196
+ ```
197
+
198
+ To use the latest commit on `main` before it is released, install from GitHub
199
+ instead. This needs Git.
200
+
201
+ ```text
202
+ uv tool install "git+https://github.com/GIY0201/Improve-Skills-loop-System.git"
203
+ ```
204
+
205
+ ### Status and removal
206
+
207
+ `skill-learning status --project .` lists the skill versions and the state of
208
+ each connection. Every command lists its options with `--help`.
209
+
210
+ Run these commands from a connected project when removing the engine:
211
+
212
+ ```text
213
+ skill-learning teardown
214
+ uv tool uninstall portable-skill-learning
215
+ ```
216
+
217
+ `teardown` removes the hook entries installed by setup in that project. It
218
+ retains existing settings, local evidence and the project registration. Run it
219
+ in every connected project before uninstalling the CLI.
220
+
221
+ ### Development
222
+
223
+ ```text
224
+ uv run --no-project --with pytest python -m pytest
225
+ ```
226
+
227
+ ### License
228
+
229
+ MIT. See [LICENSE](https://github.com/GIY0201/Improve-Skills-loop-System/blob/main/LICENSE).
230
+
231
+ ## 한국어
232
+
233
+ Improve-Skills-loop-System은 코딩 에이전트에게 준 교정을 스킬 수정으로 바꾸고,
234
+ 수정한 스킬을 시험한 뒤 유지할지 제안합니다. Codex, Claude Code, Antigravity,
235
+ Traycer와 함께 로컬에서 동작하며, 스킬 버전과 시험 결과는 로컬 SQLite 저장소에
236
+ 보관합니다.
237
+
238
+ ### 만든 배경
239
+
240
+ 이 엔진은 두 프로젝트의 방식을 합쳐 만들었습니다.
241
+
242
+ Nous Research의 [Hermes Agent](https://github.com/NousResearch/hermes-agent)는
243
+ 작업하면서 스킬을 직접 씁니다. 오류를 겪은 뒤 통하는 방법을 찾거나 사용자가
244
+ 방식을 바로잡으면, 그 절차를 스킬로 저장하고 같은 종류의 다음 작업에서 불러옵니다.
245
+ 턴이 끝난 뒤 백그라운드 검토가 스킬 변경을 제안하기도 합니다. 변경이 도움이
246
+ 됐는지 작업을 다시 실행해 확인하지는 않습니다.
247
+
248
+ Microsoft의 [SkillOpt](https://github.com/microsoft/SkillOpt)는 점수를 매긴 실행으로
249
+ 스킬 문서를 학습시킵니다. 현재 스킬로 과제를 실행하면 별도 모델이 결과를 보고 작은
250
+ 수정안을 만들고, 수정안 작성에 쓰지 않은 과제에서 점수가 오를 때만 그 수정을
251
+ 받아들입니다. SkillOpt-Sleep은 이 과정을 로컬 코딩 에이전트의 지난 세션에 밤마다
252
+ 적용합니다. 채점할 수 있는 과제가 필요하고, 수정안마다 모델 호출이 더 듭니다.
253
+
254
+ 이 엔진은 Hermes Agent에서 작업 중 학습을 가져왔습니다. 교정은 그날 스킬
255
+ 시험판이 되고, 에이전트는 조건이 맞는 다음 작업에서 시험판을 씁니다. SkillOpt에서는
256
+ 채택 시험을 가져왔습니다. 저녁에 직전판과 시험판을 같은 입력으로 실행하고, 반복
257
+ 채점 사이의 차이보다 점수가 더 오른 경우에만 시험판 유지를 제안합니다.
258
+
259
+ ### 동작 방식
260
+
261
+ 낮에는 다음 순서로 학습합니다.
262
+
263
+ 1. 아래 형식의 교정을 다른 내용 없이 한 메시지로 보냅니다. 에이전트는 그 턴에서
264
+ 교정을 따릅니다. `verification`에는 작업이 쓰는 프로젝트 파일을, `expected`에는
265
+ 그 파일에 들어 있어야 할 줄을 적습니다.
266
+
267
+ ```text
268
+ SKILL CORRECTION <skill-name>
269
+ trigger: <작업을 알아볼 문구>
270
+ procedure: <따를 절차>
271
+ verification: <프로젝트 기준 파일 경로>
272
+ expected: <파일에 있어야 할 줄>
273
+ ```
274
+
275
+ 2. 턴이 끝나면 `skill-learning work --project .`를 실행합니다. 엔진은 도구의 원래
276
+ 대화 기록을 읽고, 턴이 완료됐고 그 턴 동안 파일이 바뀌었으며 파일에 `expected`
277
+ 줄이 있을 때만 새 스킬 버전을 만듭니다. 새 버전은 시험판으로 시작하고 직전판은
278
+ 그대로 남습니다.
279
+ 3. 같은 도구에 보낸 다음 요청에 `trigger` 문구가 있으면 훅이 에이전트에게 시험판을
280
+ 읽으라고 안내합니다. 엔진은 읽은 기록과 읽은 파일의 SHA-256을 남깁니다.
281
+
282
+ 저녁에는 다음 순서로 비교합니다.
283
+
284
+ 4. `skill-learning review`는 매니페스트 파일에 정한 고정 입력을 Codex나 Claude Code의
285
+ 격리된 세션에서 직전판과 시험판으로 한 번씩 실행합니다. 일부 실행이 실패하면 끝난
286
+ 결과는 보존하고, 다시 실행할 때 빠진 것만 돌립니다.
287
+ 5. 어느 버전의 결과인지 모르는 독자의 점수를 `skill-learning assess`로 기록합니다.
288
+ 엔진은 이 점수로 시험판 유지, 시험 연장, 직전판 복구 중 하나를 제안합니다.
289
+ 결과는 `keep`이나 `rollback`으로 반영합니다.
290
+ 6. Windows에서는 `skill-learning schedule`이 검토를 작업 스케줄러에 등록합니다.
291
+ 예약 시각에 컴퓨터가 절전 중이었다면 깨어난 뒤 실행합니다.
292
+
293
+ 한 도구에서 배운 스킬 버전은 `skill-learning activate --confirm-compatible`로 같은
294
+ 프로젝트의 다른 도구에서도 시험할 수 있습니다. 검증 때 Claude Code 교정으로 만든
295
+ 시험판을 Codex가 읽는 것을 확인했습니다.
296
+
297
+ ### 설치와 프로젝트 연결
298
+
299
+ [uv](https://docs.astral.sh/uv/getting-started/installation/)를 설치하고 사용할 AI
300
+ 도구를 준비합니다. 이 패키지는 Python 3.11 이상이 필요하며, 설치된 Python이 없으면
301
+ uv가 받아 씁니다. 연결하려는 프로젝트 폴더에서 터미널을 열고 다음 명령을 실행합니다.
302
+
303
+ ```text
304
+ uv tool install portable-skill-learning
305
+ skill-learning setup
306
+ ```
307
+
308
+ 터미널에서 `skill-learning`을 찾지 못하면 `uv tool update-shell`을 실행한 뒤
309
+ 새 터미널을 엽니다. 한 줄로 설치와 프로젝트 연결을 마칠 수도 있습니다.
310
+
311
+ **PowerShell**
312
+
313
+ ```powershell
314
+ uv tool install portable-skill-learning; if ($LASTEXITCODE -eq 0) { & (Join-Path (uv tool dir --bin) "skill-learning.exe") setup }
315
+ ```
316
+
317
+ **Bash 또는 Zsh**
318
+
319
+ ```sh
320
+ uv tool install portable-skill-learning && "$(uv tool dir --bin)/skill-learning" setup
321
+ ```
322
+
323
+ `setup`은 설치된 도구를 감지하고 대화 기록 경로를 등록합니다. 아래 표에 나온 프로젝트
324
+ 설정 파일에 엔진 훅을 추가하고 기존 설정과 훅 항목을 보존합니다. 변경 내용을
325
+ 미리 확인하거나 연결할 도구를 직접 지정할 수 있습니다.
326
+
327
+ ```text
328
+ skill-learning setup --dry-run
329
+ skill-learning setup --project <project-folder> --target codex --target traycer
330
+ skill-learning doctor --project .
331
+ ```
332
+
333
+ 설정이 끝나면 프로젝트를 다시 열거나 새 세션을 시작합니다. 훅을 실행하기 전에
334
+ 각 도구의 공식 신뢰 절차를 따릅니다. Codex에서는 `/hooks`로 등록된 정의를 확인합니다.
335
+ 훅 승인, 로그인, 예약 작업 등록은 필요할 때 각각 진행합니다. 생성된 설정에는 컴퓨터별
336
+ 경로가 들어 있으므로, 저장소에 공유 설정을 커밋할 때 이 항목은 로컬에 남겨 둡니다.
337
+
338
+ #### `--target`으로 연결할 도구 고르기
339
+
340
+ `--target` 없이 실행하면 `setup`은 감지한 도구를 모두 연결합니다. `--target`을
341
+ 반복해 지정하면 지정한 도구만 연결합니다.
342
+
343
+ | `--target` | 연결 대상 |
344
+ | --- | --- |
345
+ | `codex` | Codex CLI |
346
+ | `claude` | Claude Code |
347
+ | `antigravity` | Antigravity App과 CLI. 해당 폴더가 있을 때만 연결 |
348
+ | `traycer` | Traycer의 Codex와 Claude Code. ACP는 감지되면 기록 가져오기 연결 |
349
+ | `traycer-acp` | Traycer Antigravity ACP 기록 가져오기만 연결. 훅 파일 없음 |
350
+
351
+ `traycer`는 Traycer의 공용 프로필과 관리 프로필을 모두 연결합니다. 단독 Codex CLI와
352
+ Claude Code는 포함하지 않으므로 함께 쓰려면 `--target codex`나 `--target claude`를
353
+ 더합니다. 예를 들어 `--target codex --target traycer`는 Codex CLI와 Traycer의 Codex,
354
+ Claude Code를 연결합니다. Traycer Antigravity가 설치돼 있으면 ACP 기록 가져오기도 연결합니다.
355
+
356
+ #### 도구를 찾지 못할 때
357
+
358
+ `setup`이 `No supported client found`를 출력하면 홈 폴더의 도구 폴더와 `PATH`의 도구
359
+ 명령을 모두 찾지 못한 것입니다. 도구를 한 번 실행한 뒤 `setup`을 다시 실행하거나,
360
+ `--target`으로 도구를 지정합니다.
361
+
362
+ ```text
363
+ skill-learning setup --target codex
364
+ skill-learning setup --target claude
365
+ ```
366
+
367
+ `codex`와 `claude`는 도구를 처음 실행하기 전에도 연결됩니다. 이때 `~/.codex/sessions`와
368
+ `~/.claude/projects`를 쓰고, `CODEX_HOME`이나 `CLAUDE_CONFIG_DIR`을 설정했다면 그 폴더를
369
+ 씁니다. Antigravity에는 이런 대체 경로가 없으므로 먼저 한 번 실행한 뒤 `setup`을 실행합니다.
370
+
371
+ ### 지원 범위
372
+
373
+ | 실행 환경 | 프로젝트 설정 | 지원 기능 |
374
+ | --- | --- | --- |
375
+ | Codex CLI와 Traycer Codex | `.codex/hooks.json` | 이벤트 자동 수집, 시험판 안내, 로컬 검증과 재실행 |
376
+ | Claude Code와 Traycer Claude Code | `.claude/settings.json` | 이벤트 자동 수집, 시험판 안내, 로컬 검증과 재실행 |
377
+ | Antigravity App과 CLI | `.agents/hooks.json` | 입력 관찰, 사용자가 활성화한 시험판 안내, 도구 자체의 파일 읽기 확인 |
378
+ | Traycer Antigravity ACP | 대화 기록 경로 등록 | 지정한 기록 가져오기. 자동 시험판 적용과 재실행은 미지원입니다. |
379
+
380
+ Traycer 공용 연결은 Codex와 Claude의 기본 사용자 설정 폴더를 사용합니다.
381
+ 관리 프로필은 Traycer의 로컬 계정에서 `sessions` 또는 `projects` 폴더를 찾아 감지합니다.
382
+ 별도 경로를 쓰는 경우 `skill-learning bind --help`를 참고해 직접 등록합니다.
383
+ ACP 기록을 가져올 때는 등록한 프로젝트의 대화 기록을 골라 전체 파일 경로를 지정합니다.
384
+
385
+ ```text
386
+ skill-learning import-antigravity --project . --profile traycer-acp --transcript <transcript_full.jsonl>
387
+ ```
388
+
389
+ ### 업데이트
390
+
391
+ 아무 폴더에서 다음 명령을 실행합니다. 연결된 프로젝트의 훅은 그대로 유지되므로
392
+ `setup`을 다시 실행할 필요가 없습니다.
393
+
394
+ ```text
395
+ uv tool upgrade portable-skill-learning
396
+ ```
397
+
398
+ 릴리스 전의 `main` 최신 커밋을 쓰려면 GitHub에서 설치합니다. 이 방법에는 Git이
399
+ 필요합니다.
400
+
401
+ ```text
402
+ uv tool install "git+https://github.com/GIY0201/Improve-Skills-loop-System.git"
403
+ ```
404
+
405
+ ### 상태 확인과 제거
406
+
407
+ `skill-learning status --project .`는 스킬 버전과 연결별 상태를 보여 줍니다.
408
+ 각 명령의 옵션은 `--help`로 확인합니다.
409
+
410
+ 엔진을 제거하려면 연결된 프로젝트 폴더에서 다음 명령을 실행합니다.
411
+
412
+ ```text
413
+ skill-learning teardown
414
+ uv tool uninstall portable-skill-learning
415
+ ```
416
+
417
+ `teardown`은 해당 프로젝트에서 `setup`으로 추가한 훅을 제거합니다. 기존 설정과
418
+ 로컬 검증 근거, 프로젝트 등록 정보는 보존합니다. 여러 프로젝트를 연결했다면
419
+ CLI를 제거하기 전에 각 프로젝트에서 `teardown`을 실행합니다.
420
+
421
+ ### 개발
422
+
423
+ ```text
424
+ uv run --no-project --with pytest python -m pytest
425
+ ```
426
+
427
+ ### 라이선스
428
+
429
+ MIT 라이선스입니다. 전문은 [LICENSE](https://github.com/GIY0201/Improve-Skills-loop-System/blob/main/LICENSE)에 있습니다.