Ninox scripting
Expert knowledge for scripting in Ninox databases, preventing hallucinations and enforcing project rules. Use when writing, debugging, or explaining Ninox scripts (NX), when the user mentions Ninox, NX scripts, database scripting, or needs help with Ninox formulas, automation, or database operations.From its SKILL.md
npx -y skills add christianphilie/ninox-agent-skill --skill ninox-scriptingAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as CC-BY-4.0. See LICENSE for complete terms.. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
4.7 KB, 987 tokens by cl100k_base, as published. Nobody here has run it
Ninox Scripting Skill
This skill provides expert knowledge for scripting in Ninox databases, preventing hallucinations and enforcing strict rules. Use when writing, debugging, or explaining Ninox scripts (NX).
Critical Rules
Follow these rules strictly to avoid hallucinations (inventing non-existent functions):
- ALWAYS read
references/function-whitelist.mdbefore writing code. If a function is not in this list, DO NOT USE IT unless you verify it yourself in the official documentation. - ALWAYS read
references/forbidden-patterns.mdto avoid common errors (e.g., using JS array methods likemap,filter, etc., which do NOT exist in Ninox). - ASK FOR CONTEXT: If field names, table names, or relations are unclear, ASK instead of guessing. See
references/context-queries.md. - CONSULT ALL RULES: Review all relevant documents in the
references/directory before writing code. See Resources section below for all available rule documents.
Datenbankstruktur verstehen
Wenn du Ninox-Code schreiben sollst und die Tabellenstruktur unklar ist:
- Bitte den Nutzer um den API-Export oder die manuelle Strukturbeschreibung
- Lies
references/export-guide.mdfür die Anleitung, die du dem Nutzer geben kannst - Frag NIEMALS nach Feldnamen durch Raten – das führt zu Halluzinationen
Verwende diese Prompt-Vorlage, um den Nutzer zu einer guten Beschreibung anzuleiten:
Damit ich den korrekten Code schreiben kann, brauche ich die genaue Datenbankstruktur.
Bitte nenne mir:
1. Den genauen Tabellennamen (mit Leerzeichen/Sonderzeichen)
2. Die Feldnamen mit Typen (Text, Zahl, Datum, Relation...)
3. Welche Tabellen zusammenhängen (Relationen)
4. Den Trigger-Kontext (wo läuft das Script? onChange auf Feld X? Button in Tabelle Y?)
Oder nutze die Anleitung in references/export-guide.md für einen API-Export.
Resources
Core Rules
- Strict Rules - Critical documentation compliance rules
- Function Whitelist - All documented Ninox functions
- Forbidden Patterns - Common errors to avoid
- Common Mistakes - Best practices and common pitfalls
- Context Queries - When to ask instead of guessing
- Relations and Loops - Correct usage of relations and for-loops
- Performance Rules - Optimization guidelines
- Undocumented Features - Working but undocumented features
- Style Guide - Coding standards
Documentation
-
Functions - All documented Ninox functions
-
Performance Guide - Performance optimizations
-
API - HTTP and REST API (full reference)
-
HTTP Requests - Making HTTP requests from NX scripts
-
Tables - Database table concepts
-
Triggers - All trigger types, contexts, and limitations
-
Datetime Functions - Date/time functions, formatting, arithmetic
-
Types - Type system, conversion, null handling
-
Database Schema - Schema structure and field types
-
Export Guide - How to export database structure for AI analysis
-
Globals - Global functions: teamId, user functions, sendEmail, ninoxApp, openPage, execution blocks
-
Changelog - Script-relevant version history and new functions by version
Examples
- Basic Select - Basic select statements
- Aggregate Functions - Using aggregate functions instead of loops
- Select Optimization - Optimizing select queries
- Transaction Pattern - Using transaction blocks
- Count with Filter - Undocumented count() with filter pattern
- Select with Brackets - Undocumented bracket syntax
What ships with it: 27 files
163.2 KB alongside SKILL.md
references/
- api.md11.7 KB
- changelog.md4.1 KB
- common-mistakes.md18.0 KB
- context-queries.md5.3 KB
- database-schema.md6.7 KB
- datetime-functions.md10.6 KB
- example-aggregate-functions.md1.2 KB
- example-basic-select.md1.7 KB
- example-count-filter.md1.4 KB
- example-select-brackets.md1.4 KB
- example-select-optimization.md1.5 KB
- example-transaction-pattern.md1.0 KB
- export-guide.md7.1 KB
- forbidden-patterns.md4.4 KB
- functions.md4.5 KB
- function-whitelist.md19.5 KB
- globals.md7.6 KB
- http-requests.md9.4 KB
- performance-guide.md3.7 KB
- performance-rules.md2.7 KB
- relations-and-loops.md5.6 KB
- strict-rules.md2.9 KB
- style-guide.md3.7 KB
- tables.md1.9 KB
- triggers.md9.4 KB
- types.md6.2 KB
- undocumented-features.md9.8 KB