Commit b358a5e
feat: integrate LLM Runtime Modifier into skills (Phase 5)
Extends the /risk-assess and /risk-mitigate skills with LLM Runtime
Integration handling:
shared/risk-model.md:
- New LLM Runtime Integration section with escalation ladder (L0-L4),
tier multiplier rules, auto-detection grep patterns for LLM SDKs
(anthropic, openai, langchain, @ai-sdk/*, etc.), agentic indicators,
and sandbox/code-execution detection
- Updated tier calculation to include the cross-cutting floor
- CLAUDE.md output format now includes llmRuntimeLevel field
risk-assess/SKILL.md:
- Step 2f: LLM Runtime detection (SDK imports + agentic patterns)
- Step 3d: Interactive confirmation (ALWAYS ask, even for L0)
- Step 4a: Tier calculation with modifier, explicit lift note
risk-mitigate/SKILL.md:
- Step 1: Parse llmRuntimeLevel from CLAUDE.md
- Step 3b: Callout for L3+ modules pointing to OWASP LLM Top 10,
Palo Alto SHIELD, Aikido VCAL, Google SAIF — the skill does not
install runtime mitigations but tracks them as pending in CLAUDE.md
since they require architectural decisions
Closes #20
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 33a95bc commit b358a5e
3 files changed
Lines changed: 363 additions & 130 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
148 | 179 | | |
149 | 180 | | |
150 | 181 | | |
| |||
203 | 234 | | |
204 | 235 | | |
205 | 236 | | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
206 | 265 | | |
207 | 266 | | |
208 | 267 | | |
209 | 268 | | |
210 | 269 | | |
211 | 270 | | |
212 | 271 | | |
213 | | - | |
214 | | - | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
215 | 276 | | |
216 | 277 | | |
217 | | - | |
| 278 | + | |
| 279 | + | |
218 | 280 | | |
219 | 281 | | |
220 | 282 | | |
| |||
223 | 285 | | |
224 | 286 | | |
225 | 287 | | |
| 288 | + | |
226 | 289 | | |
227 | 290 | | |
228 | 291 | | |
229 | 292 | | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
230 | 308 | | |
231 | 309 | | |
232 | 310 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | | - | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
119 | 168 | | |
120 | 169 | | |
121 | 170 | | |
| |||
0 commit comments