Skip to content

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.

bash
npx skills add moostjs/atscript-odata

Restart 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:

bash
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 pickers

What 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, annotate blocks;
  • the live $metadata at 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 ​

SAP, SAP S/4HANA, SAP Fiori, SAPUI5, SAP BTP and other SAP products and services mentioned herein, as well as their respective logos, are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other countries. Atscript OData is an independent open-source project and is not affiliated with, sponsored or endorsed by SAP SE.
Released under the MIT License.