ai-nexus 1.5.2 → 1.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.ko.md CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  # ai-nexus
4
4
 
5
- > 200개 이상의 룰과 스킬을 설치하세요. 프롬프트당 2-3개만 로딩됩니다.
6
- > 번 작성하면 Claude Code, Cursor, Codex에 자동 배포.
5
+ > 200개 이상의 룰과 스킬을 설치하세요. 프롬프트당 2-3개만 로딩.
6
+ > 필터링은 Claude 안이 아니라 Claude 바깥에서.
7
7
 
8
8
  [![npm version](https://img.shields.io/npm/v/ai-nexus.svg)](https://www.npmjs.com/package/ai-nexus)
9
9
  [![npm downloads](https://img.shields.io/npm/dw/ai-nexus.svg)](https://www.npmjs.com/package/ai-nexus)
@@ -29,7 +29,9 @@ npx ai-nexus install
29
29
 
30
30
  ## 해결
31
31
 
32
- **ai-nexus**는 룰 필터링을 **Claude 바깥에서** 처리합니다. 시맨틱 라우터 훅이 Claude가 시작되기 전에 실행되어 관련 있는 2-3개 파일만 `rules/`에 두고 나머지는 `rules-inactive/`로 물리적으로 빼버립니다. Claude는 나머지가 있는지도 모릅니다. 필터링은 키워드 매칭(무료) 또는 GPT-4o-mini(월 ~$0.50)가 처리. 한 번 작성하면 모든 도구에 배포:
32
+ **ai-nexus**는 룰 필터링을 **Claude 바깥에서** 처리합니다. 시맨틱 라우터 훅이 Claude가 시작되기 전에 실행되어 관련 있는 2-3개 파일만 `rules/`에 두고 나머지는 `rules-inactive/`로 물리적으로 빼버립니다. Claude는 나머지가 있는지도 모릅니다. 필터링은 키워드 매칭(무료) 또는 GPT-4o-mini(월 ~$0.50)가 처리.
33
+
34
+ 삭제가 아니라 `rules-inactive/`에 보관. 다음 프롬프트에서 필요하면 즉시 재활성화. 한 번 작성하면 모든 도구에 배포:
33
35
 
34
36
  ```
35
37
  한 번 작성:
@@ -51,7 +53,7 @@ npx ai-nexus install
51
53
 
52
54
  | | 강점 | 상세 |
53
55
  |---|---|---|
54
- | **다 설치해도 필요한 것만 로딩** | 200개 이상 설치, 프롬프트당 2-3개만 로딩 | 시맨틱 라우터가 프롬프트를 분석해 필요한 것만 골라 로드룰, 스킬, 커맨드, 에이전트 전부. 설치할 자기검열할 필요 없음. |
56
+ | **Claude 바깥에서 필터링** | 200개 이상 설치, 프롬프트당 2-3개만 로딩 | 네이티브 `alwaysApply: false`는 Claude가 모든 description을 읽고 판단. ai-nexus는 Claude 시작 전에 필터링 Claude는 불필요한 파일을 아예 봄. 필터링 비용 $0(키워드) 또는 ~$0.50/월(GPT-4o-mini). |
55
57
  | **한 번 작성, 어디서든 배포** | 하나의 파일 → 세 가지 도구 | `.md` 파일 하나만 작성하면 Cursor용 `.mdc`, Codex용 `AGENTS.md`로 자동 변환. 복붙 불필요. |
56
58
  | **AI 기반 선택** | GPT-4o-mini 또는 Claude Haiku가 선택 | 매 프롬프트마다 훅이 실행되어 필요한 것만 로딩. 월 ~$0.50. AI 없이도 키워드 매칭으로 무료 동작. |
57
59
  | **팀 전체 일관성** | Git 기반 공유 | 모든 팀원이 같은 저장소에서 설치. `npx ai-nexus update` 한 번으로 전팀 동기화. |
package/README.md CHANGED
@@ -3,6 +3,7 @@
3
3
  # ai-nexus
4
4
 
5
5
  > Install 200+ rules and skills. Only 2-3 load per prompt.
6
+ > Filtering happens before Claude, not inside Claude.
6
7
  > Write once, deploy across Claude Code, Cursor, and Codex.
7
8
 
8
9
  [![npm version](https://img.shields.io/npm/v/ai-nexus.svg)](https://www.npmjs.com/package/ai-nexus)
@@ -29,7 +30,9 @@ On top of that, every AI tool has its own format — `.claude/rules/*.md`, `.cur
29
30
 
30
31
  ## The Solution
31
32
 
32
- **ai-nexus** filters rules **before Claude sees them**. A semantic router hook runs on each prompt, picks 2-3 relevant files, and physically parks the rest in `rules-inactive/`. Claude only sees what it needs — it doesn't even know the rest exist. Filtering is done by keyword matching (free) or GPT-4o-mini (~$0.50/month), not by Claude. Write once, deploy across all your tools:
33
+ **ai-nexus** filters rules **before Claude sees them**. A semantic router hook runs on each prompt, picks 2-3 relevant files, and physically parks the rest in `rules-inactive/`. Claude only sees what it needs — it doesn't even know the rest exist. Filtering is done by keyword matching (free) or GPT-4o-mini (~$0.50/month), not by Claude.
34
+
35
+ Nothing is deleted — just parked in `rules-inactive/` and reactivated when the next prompt needs it. Write once, deploy across all your tools:
33
36
 
34
37
  ```
35
38
  Write once:
@@ -51,7 +54,7 @@ One source of truth. Every tool in sync.
51
54
 
52
55
  | | Benefit | Detail |
53
56
  |---|---|---|
54
- | **Install everything, load only what's needed** | 200+ rules and skills installed, only 2-3 loaded per prompt | Semantic Router analyzes your prompt and picks just what you needrules, skills, commands, agents. No more self-censoring what to install. |
57
+ | **Filter before Claude, not inside Claude** | 200+ installed, only 2-3 loaded per prompt | Native `alwaysApply: false` has Claude read all descriptions to decide. ai-nexus filters before Claude starts Claude never sees irrelevant files. Filtering costs $0 (keywords) or ~$0.50/mo (GPT-4o-mini). |
55
58
  | **Write once, deploy everywhere** | One file → three tools | Write a single `.md` file. ai-nexus auto-converts to `.mdc` for Cursor and `AGENTS.md` for Codex. No more copy-pasting. |
56
59
  | **AI-powered selection** | GPT-4o-mini or Claude Haiku picks files for you | A hook runs on every prompt, loading only what you need. Costs ~$0.50/month. Falls back to keyword matching with zero cost. |
57
60
  | **Team-wide consistency** | Git-based sharing | Everyone installs from the same repo. `npx ai-nexus update` keeps the whole team in sync. |
@@ -31,11 +31,12 @@ export async function fetchRegistry() {
31
31
  if (!item.path.endsWith('.md'))
32
32
  continue;
33
33
  const parts = item.path.replace('config/', '').split('/');
34
- if (parts.length !== 2)
34
+ if (parts.length < 2)
35
35
  continue;
36
- const [category, name] = parts;
36
+ const category = parts[0];
37
37
  if (!CATEGORIES.includes(category))
38
38
  continue;
39
+ const name = parts.slice(1).join('/');
39
40
  files.push({
40
41
  name,
41
42
  category,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-nexus",
3
- "version": "1.5.2",
3
+ "version": "1.5.4",
4
4
  "description": "Install 200+ AI coding rules and skills — only 2-3 load per prompt. Write once, deploy across Claude Code, Cursor, and Codex.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {