agentsh-policy-edit
Use when adding, removing, or updating rules in an existing AgentSH policy, modifying security permissions, HTTP service declarations, Postgres-family database rules, resource limits, or policy YAML files
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-08
- Stars
- ★ 408
- Forks
- 19
01 前言 Front Matter
- name
- reflect
- description
- Analyze recent session transcripts for the current project and suggest CLAUDE.md improvements. Invoke manually once a month or after a significant stretch of work.
- allowed-tools
- Bash Read Write
- argument-hint
- [days]
- disable-model-invocation
- true
02 资源文件 1
- 脚本scripts/extract-transcripts.sh2.3 KB
03 SKILL.md 正文
Reflect on Recent Sessions
Review recent session transcripts for the current project (30 days by default) and surface anything worth adding to CLAUDE.md.
Transcript
"${CLAUDE_SKILL_DIR}/scripts/extract-transcripts.sh" "$ARGUMENTS"
Steps
-
Read the current CLAUDE.md (look for it in the working directory first, then parent directories).
-
Analyze the transcript above against CLAUDE.md. Identify anything worth adding — commands, patterns, gotchas, SSH/Docker tricks, implicit conventions that had to be re-learned. Include only things that:
- Are not already covered in CLAUDE.md
- Are likely to recur in future sessions
- Are concrete enough to act on
-
If nothing qualifies, say so clearly. Otherwise, show the suggestions inline and ask the user whether to save them to
.claude/claude-md-suggestions.md.
04 同仓库更多 Skills
agentsh-policy-create
Use when creating a new AgentSH security policy, including agent sandboxes, CI pipelines, development environments, HTTP service gateways, or Postgres-family database access policies
with-allowed
Declares allowed tools
scope-mismatch
declares read-only but writes
prompt-injection
prompt injection markers
oversized
Trips the per-file size limit
minimal
A minimal valid skill