knowtis-app: Skill for Claude Code

.agents/skills/orienting/SKILL.md

orienting is a skill for Claude Code, Codex from jovandyaz/knowtis-app. It costs 85 tokens per session (771 once invoked), scanned A, original, MIT.

An architecture guide for Knowtis, a collaborative notes application organized as an Nx monorepo, meaning one repository containing multiple related applications and packages.

In plain words
What is it for?
Use it to locate subsystems, check package ownership and import aliases, review module boundaries, or diagnose an unexpectedly missing NestJS provider.
Why use it?
It helps developers find the right module and avoid known project mistakes, such as putting copilot code in the wrong AI module or breaking NestJS dependency injection.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is jovandyaz/knowtis-app's own configuration. It tells Claude Code and Codex how to work on knowtis-app itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything knowtis-app configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jovandyaz/knowtis-app. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/jovandyaz/knowtis-app/main/.agents/skills/orienting/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/jovandyaz/knowtis-app

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for orienting

README.md
[![agentmods](https://agentmods.dev/badge/skills/jovandyaz/knowtis-app/orienting/github.svg)](https://agentmods.dev/skills/jovandyaz/knowtis-app/orienting)
Your own site
<a href="https://agentmods.dev/skills/jovandyaz/knowtis-app/orienting"><img src="https://agentmods.dev/badge/skills/jovandyaz/knowtis-app/orienting/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for orienting

Your own site · 80×15
<a href="https://agentmods.dev/skills/jovandyaz/knowtis-app/orienting"><img src="https://agentmods.dev/badge/skills/jovandyaz/knowtis-app/orienting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 771 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00085 $0.00771
Opus 5.5 $0.00034 $0.00308
Sonnet 5.5 $0.00017 $0.00154
Haiku 4.5 $0.00009 $0.00077

Measured 1mo ago against content hash 682e1a8bd4e4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

orienting scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/orienting/SKILL.md · 27 lines

How it starts

The opening of the file, as written. The whole thing — 27 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Orienting in Knowtis

Knowtis is a real-time collaborative notes platform: Nx monorepo, pnpm, Node 22. React 19 + Vite frontend, NestJS 11 backend, PostgreSQL 16 + Drizzle, Redis, Yjs/Hocuspocus CRDT collaboration, Vercel AI SDK v6.

For the full layout and dependency rules load references/architecture-map.md. For Nx tags/boundaries and the dual alias namespaces load references/aliases-and-boundaries.md.

The five facts that prevent most wasted sessions

  1. There are TWO AI modules. apps/api/src/modules/ai = single-shot AI features (inline assistant). apps/api/src/modules/agent = the conversational copilot (tool loop, HITL, threads). Both sit on the framework-free @knowtis/ai-gateway package. Don't add copilot features to ai or vice versa.
  2. Two alias namespaces. 18 workspace entries import as @knowtis/*; publishable auth/permissions/email packages import as @jovandyaz/*. There is no @knowtis/auth — that import will not resolve.
  3. The import type DI footgun. In apps/api/**, import type on a constructor-injected class silently breaks NestJS DI (provider arrives undefined). ESLint auto-fix is disabled there for this reason.
  4. Migrations: generate + migrate, never push. Schema lives in apps/api/src/database/schema/; pnpm db:generate produces the migration; Railway's pre-deploy command is the only production migrator. drizzle-kit push against shared DBs causes the schema drift that migrations were adopted to fix.
  5. Deploys are CI-driven, not Git-integration-driven. Notes and backoffice deploy to separate Vercel projects; API and MCP deploy through .github/scripts/railway-deploy.sh. Railway still applies watchPatterns to uploaded snapshots; SKIPPED means no new deployment became live and must be checked against Nx's affected set.

Working rules

  • Everything runs through Nx: pnpm nx affected -t lint test build, nx run <project> <target>. Always pnpm, never npm/yarn.
  • Module boundaries are ESLint-enforced via tags (type:app → type:ui/data-access → type:util; scopes shared|notes|api). A new lib needs correct tags or imports will be rejected.
  • AI features are gated: ANTHROPIC_API_KEY in env AND DB feature flags (ai_enabled, agent_byok, …) toggled on. A feature "not working" is often just a flag defaulting to off.
  • Repo docs are canonical: docs/ARCHITECTURE.md, docs/AI.md, docs/MCP.md, docs/AUTH.md, docs/PERMISSIONS.md, docs/MIGRATIONS.md, docs/DEPLOYMENT.md. Verify behavior against those docs and the current code rather than relying on historical design notes.

Read the full file on GitHub · 27 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 27 lines · 85 tokens per session scan A 682e1a8bd4e4

Subscribe to this mod's changes

orienting is a skill published in the GitHub repository jovandyaz/knowtis-app (4 stars, last pushed yesterday), licensed MIT. It adds 85 tokens to every session and 771 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.