Subscribe to a URL user rule
subscribe_user_ruleSubscribe to an HTTPS raw MDC rule on request, validating and enabling it as a user rule; metadata only, optional environment-variable bearer auth.
Instructions
Subscribe to one HTTPS raw MDC rule when the user requests it.
Fetch and validate before enabling it as user:<frontmatter name>. Only name,
description, category and priority metadata are accepted; no MDC imports.
No redirects, URL credentials or queries except a Git ref parameter. Optional auth_env names a
server environment variable used as a Bearer token; never pass the token.
The owner must bind that variable to this host in AGENTS_RULE_AUTH_HOSTS.
This grants future explicitly refreshed content user-rule scope. Sources do
not become system instructions. No automatic refresh or background polling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| auth_env | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |