Skip to content

Commit f3e2fe5

Browse files
skills: add explicit registry requirements and tighten secret scope
1 parent c790068 commit f3e2fe5

2 files changed

Lines changed: 37 additions & 4 deletions

File tree

skills/extropy/SKILL.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ metadata:
99
- extropy
1010
config_files:
1111
- ~/.config/extropy/config.json
12-
- .env
1312
environment_variables:
1413
- OPENAI_API_KEY
1514
- ANTHROPIC_API_KEY
@@ -32,7 +31,7 @@ metadata:
3231
- provider API keys via environment variables only
3332
notes:
3433
- extropy reads model/provider settings from ~/.config/extropy/config.json
35-
- extropy may load .env from the current working directory
34+
- do not read raw .env contents unless explicitly requested by the user
3635
---
3736

3837
# Extropy Operator
@@ -50,10 +49,10 @@ Run experiments end to end, with strict quality gates and reproducible commands.
5049
## Runtime Dependencies and Credential Scope
5150

5251
- Required binary: `extropy` must be installed and on `PATH`.
53-
- Config files read: `~/.config/extropy/config.json` and project/local `.env` (if present).
52+
- Config file read: `~/.config/extropy/config.json`.
5453
- Credentials expected: provider API keys from env vars (`OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, `OPENROUTER_API_KEY`, `DEEPSEEK_API_KEY`, `AZURE_API_KEY`/`AZURE_OPENAI_API_KEY`).
5554
- Azure endpoint vars: `AZURE_ENDPOINT` or `AZURE_OPENAI_ENDPOINT` when using Azure providers.
56-
- Safety boundary: only access credentials/config needed to execute extropy commands for the requested study/scenario, and avoid reading unrelated files.
55+
- Safety boundary: only access credentials/config needed to execute extropy commands for the requested study/scenario, do not inspect raw `.env` values, and avoid reading unrelated files.
5756

5857
## Canonical Pipeline
5958

skills/extropy/agents/openai.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
interface:
2+
display_name: "Extropy Operator"
3+
short_description: "Run Extropy CLI pipelines and analyze results"
4+
default_prompt: "Use $extropy to run or debug an Extropy study end-to-end with evidence-backed output."
5+
6+
requirements:
7+
binaries:
8+
- "extropy"
9+
env_vars:
10+
- "OPENAI_API_KEY"
11+
- "ANTHROPIC_API_KEY"
12+
- "OPENROUTER_API_KEY"
13+
- "DEEPSEEK_API_KEY"
14+
- "AZURE_API_KEY"
15+
- "AZURE_ENDPOINT"
16+
- "AZURE_OPENAI_API_KEY"
17+
- "AZURE_OPENAI_ENDPOINT"
18+
- "MODELS_FAST"
19+
- "MODELS_STRONG"
20+
- "SIMULATION_FAST"
21+
- "SIMULATION_STRONG"
22+
- "SIMULATION_MAX_CONCURRENT"
23+
- "SIMULATION_RATE_TIER"
24+
- "SIMULATION_RPM_OVERRIDE"
25+
- "SIMULATION_TPM_OVERRIDE"
26+
config_paths:
27+
- "~/.config/extropy/config.json"
28+
primary_credentials:
29+
- "Provider API keys via environment variables"
30+
31+
policy:
32+
allow_implicit_invocation: false
33+
credential_scope: "Only use credentials/config required for the requested Extropy task."
34+
secret_handling: "Do not read raw .env contents unless explicitly requested."

0 commit comments

Comments
 (0)