1c-edolisted
Install: claude install-skill trelio-ru/agent-workspaces
# 1С ЭДО
Use only the signed `runtimeExecution.command` returned by the current
`get_agent_skill` response. The runtime is read-only: it builds only fixed
GET/HEAD requests and supports no arbitrary URL, entity, OData expression or
write operation.
## Establish the access state
1. Require `skill.connection.configured`. If the company connection or its
`x_odata` binding is missing, direct a company administrator to configure
the `1С ЭДО` connection. Never ask anyone to paste `X-OData` into chat.
2. Run `access-status show` before offering search or connection. Append the
runtime arguments after the terminal `--` in the exact command:
`... -- access-status show`.
3. Follow the returned state:
- `connected`: continue with the requested read operation.
- `needs_reconnect`: offer `connect`; explain that 1С rejected or can no
longer use the personal session.
- `unknown`: offer the user three real choices – connect now, explicitly
record that they have no personal access, or do nothing for now.
- `no_access`: do not offer search or repeat the connection question.
Immediately show the returned administrator instruction/link. After
access is granted, run `access-status reset`, then `connect`.
4. Set `no_access` only after the user explicitly says they do not have
personal access. Then run
`access-status set no-access --confirmed`. A timeout, network error, wrong
password, HTTP 401 or HTTP 403 is never evidence for `no_access`.
#