AI Agent Skill
Atscript OData ships a skill for AI coding agents (Claude Code, Cursor, Codex and others): a compact reference the agent loads when your app works with an OData service through Atscript. With it, an agent can take a service from its $metadata to working screens: saving the metadata, generating the models, enriching them in annotate blocks, registering the browser client or declaring the controllers of a Moost server, and building tables and forms with value helps, writes, credentials and error handling, within the limits the Limitations page lists.
Install
Available once the repository is public
The skill installs from the GitHub repository, which is private during the preview. The command below works once the repository is public; until then it cannot fetch the skill.
npx skills add moostjs/atscript-odataRestart your agent after installing. Learn more about agent skills at skills.sh.
Companion skills
The skill covers the OData side and leaves the rest to the skills of the libraries it builds on. Install them next to it:
npx skills add moostjs/atscript # .as syntax, annotate blocks, asc, unplugin-atscript
npx skills add moostjs/atscript-db # tables, Moost DB controllers and hooks, query syntax
npx skills add moostjs/atscript-ui # tables, forms, value-help pickersWhat it covers
The skill follows the pages of this guide, one reference per topic, and the agent loads only the ones a task needs:
- generating models:
atscript-odata fetch, the plugin options, the trailer,annotateblocks; - the live
$metadataat runtime: connecting, the language, what the browser does with a changed service, the Moost server's drift report, the limits; - the two hosts: the browser client and the Moost server, credentials and sessions, and what the compiler checks on each;
- screens: tables and create or edit forms over an entity set's URL, mixed with tables of your own;
- value helps, relations, writes and version tokens, aggregation, errors, dialects and limitations;
- moving an application from SAP CAP, as in Migrating from SAP CAP.
See also
- Installation: the packages of each setup.
- Quick Start: the path the skill walks an agent through.