rls-policies
RLS / CLS — Reference
Policies are metastore objects (rls-policy, cls-policy) that Query Service applies on a
governed workspace: a data app with RLS on, the Keboola MCP server's workspace, or a workspace
created as governed. This skill owns the model, the rules, the interview, the discovery of what a
data app reads and the facts about binding. It names no tool: the policy JSON is the same whatever
writes it. A runtime with its own policy tools uses them. With the kbagent CLI,
references/kbagent.md maps every step to commands, and /rls-show (read-only overview) and
/rls-build (guided setup, explicit invocation only) run them.
Working Directory Context
No script of this plugin depends on the working directory. Generated rule files go to a scratch
directory (mktemp -d), never into the user's repository.