gws-modelarmor-sanitize-response
Google Model Armor: Sanitize a model response through a Model Armor template.
소스 정보
- 저장소
- googleworkspace/cli
- 최근 소스 활동
- 2026년 3월 31일 18:32
- 감지된 SKILL.md 언어
- 영어
- 스타
- 31,190
- 포크
- 1,854
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- gws-modelarmor-sanitize-response
- description
- Google Model Armor: Sanitize a model response through a Model Armor template.
- metadata
- {"version":"0.22.5","openclaw":{"category":"security","requires":{"bins":"[Truncated]"},"cliHelp":"gws modelarmor +sanitize-response --help"}}
# modelarmor +sanitize-response
> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.
Sanitize a model response through a Model Armor template
## Usage
```bash
gws modelarmor +sanitize-response --template <NAME>
```
## Flags
| Flag | Required | Default | Description |
|------|----------|---------|-------------|
| `--template` | ✓ | — | Full template resource name (projects/PROJECT/locations/LOCATION/templates/TEMPLATE) |
| `--text` | — | — | Text content to sanitize |
| `--json` | — | — | Full JSON request body (overrides --text) |
## Examples
```bash
gws modelarmor +sanitize-response --template projects/P/locations/L/templates/T --text 'model output'
model_cmd | gws modelarmor +sanitize-response --template ...
```
## Tips
- Use for outbound safety (model -> user).
- For inbound safety (user -> model), use +sanitize-prompt.
## See Also
- [gws-shared](../gws-shared/SKILL.md) — Global flags and auth
- [gws-modelarmor](../gws-modelarmor/SKILL.md) — All filter user-generated content for safety commands
GitHub에서 보기