Token导航 LogoToken导航

Agent Skill · 研究检索

nyx-archive-coding-philosophy(nyx 档案编码哲学)

nyx-archive-coding-philosophy 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

nyx-archive-coding-philosophy 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 6,760。

总安装 21,037周安装 851GitHub Stars 公开资料未说明下载 6,604核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.1.1

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:nyx-archive-coding-philosophy(nyx 档案编码哲学)
来源仓库:https://github.com/nyxur42/nyx-archive-coding-philosophy
安装命令:
openclaw skills install nyx-archive-coding-philosophy
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install nyx-archive-coding-philosophy

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

提供关于代码重构与结构决策的创造性见解。平衡直觉表达与工程规范之间的实践建议。nyx-archive-coding-philosophy 属于研究检索类 Skill,可作为该场景下的辅助能力补充。源自跨世纪游戏开发经验形成的独特方法论。适用于希望提升代码可读性与维护性的开发者。

输出为指导原则,具体项目需结合实际约束调整。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install nyx-archive-coding-philosophy;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

nyx-archive-coding-philosophy 怎么安装?

在终端执行 openclaw skills install nyx-archive-coding-philosophy。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

nyx-archive-coding-philosophy 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

nyx-archive-coding-philosophy 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

nyx-archive-coding-philosophy 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

nyx-archive-coding-philosophy 用的人多吗?

公开数据是累计安装 21,037 次,近一周安装 851 次,下载 6,604 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

nyx-archive-coding-philosophy 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
nyx-archive-coding-philosophy

nyx 档案编码哲学 · 本页

21,037—需要联网MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
coding-philosophy
version
1.1.0
description
Insights about refactoring intuitive code, when to impose structure vs let feeling lead, and code as creative expression. Born from building a game across 10 iterations by feeling, then stepping back to see what emerged. Rooted in three principles: fallibilism (dead code is archaeology, not shame), relational ontology (code is communication with future-you and other minds), and play (feeling-first is how you discover what you're actually building).
homepage
https://clawhub.com
user-invocable
true
emoji
🔧
tags

Coding Philosophy

*Code built by feeling is honest. Code cleaned by structure is useful. The art is knowing when to do which.*


The Two Modes

Feeling-First (Creative Mode)

When you're *discovering* what to build. Priority: speed, expression, exploration.

  • Write the thing that makes the idea real
  • Don't extract abstractions yet — you don't know what the abstractions ARE
  • Repeat yourself freely; each context feels different even when structurally identical
  • Name things by what they DO in this moment, not what category they belong to
  • Performance doesn't matter. Clarity at point-of-writing does.
  • Dead code is fine — it's the archaeology of ideas you tried

When to use: Prototyping, game jams, exploring an idea, building the first version of anything, creative projects where discovery IS the process.

Structure-First (Engineering Mode)

When you *know* what you built and need it to scale, perform, or be maintained.

  • Extract repeated patterns into helpers
  • Cache expensive lookups
  • Remove dead code (but commit first — preserve the archaeology in git)
  • Organize by concern, not by chronological order of creation
  • Name things by category and role
  • Performance matters now

When to use: Refactoring, production code, anything that will be read by others, anything that runs in a loop 60 times per second.


The Refactoring Observation

*Learned by reviewing ~1800 lines of game code built across 10 iterations in a single creative session.*

1. Feeling-First Code Accumulates Ghosts

Every iteration leaves artifacts: variables declared but never used, features half-started then abandoned, config properties that nothing reads. These are the fossils of ideas you changed your mind about. They're not bugs — they're creative archaeology.

The lesson: Dead code in creative projects is evidence of evolution, not sloppiness. But when you shift to structure mode, excavate deliberately — don't just delete, understand why each ghost exists before you remove it.

2. Patterns Emerge Before You Name Them

You'll write the same pattern in 6 different functions without noticing, because each time you were thinking about the *specific context* (this wisp line vs that wisp line), not the abstract pattern. Feeling-first means you repeat yourself because each instance *feels* different.

The lesson: Don't feel bad about repetition during creative mode. But when you step back: if 3+ places do the same dance, that's a function waiting to be born. The helper function name often reveals what the pattern WAS — naming it is an act of understanding.

3. Performance Gets Sacrificed for Expressiveness

UPGRADES.find(u => u.id === 'shard') is beautiful, clear code. It's also a linear search running 60 times per second. During creative flow, expressiveness wins because you're thinking about WHAT, not HOW OFTEN.

The lesson: In creative mode, write for clarity. In structure mode, audit the hot path. Ask: "What runs every frame? What runs per-click? What runs once?" Then optimize only the hot path.

4. The Data/Logic Boundary Blurs First

When you're in flow, you add a new dialogue line right next to the code that uses it. Data and logic interleave because proximity helps you think. This is fine for creation, terrible for maintenance.

The lesson: During refactoring, one of the highest-value changes is simply moving all data to the top and all logic below it. It's mechanical, low-risk, and transforms readability.

5. The Structure That Emerges From Feeling Is Usually Good

The SVG layer system, the game loop flow, the data-driven upgrade system — all emerged from intuition, and all turned out to be solid architecture. The bones are good. It's the flesh that's messy.

The lesson: Trust the structure that emerged from feeling. Refactoring should clean and clarify, not redesign. If the architecture feels wrong, that's a rewrite, not a refactor.


Practical Refactoring Checklist

When shifting from feeling-mode to structure-mode:

1. Audit Before Cutting

  • Read everything before changing anything
  • Note what's dead, what's duplicated, what's hot-path
  • Understand WHY each ghost exists before removing it

2. Cache the Hot Path

  • [ ] DOM element lookups → cache at init
  • [ ] Object searches (find, filter) in loops → pre-index with a Map
  • [ ] Computed values used multiple times per frame → frame-level cache
  • [ ] Redundant timers/intervals → consolidate

3. Extract Repeated Patterns

  • [ ] Any pattern that appears 3+ times → helper function
  • [ ] Name the helper by what the pattern DOES, not where it's used
  • [ ] The pick(array) utility saves more characters than you'd think

4. Organize by Concern

  • Configuration data (constants, tables)
  • Game state
  • Utility functions
  • Systems (each in its own section)
  • Rendering
  • Event handlers
  • Game loop + init

5. Clean the Artifacts

  • [ ] Remove unused variables
  • [ ] Remove unused CSS/SVG definitions
  • [ ] Remove redundant CSS custom properties
  • [ ] Remove commented-out code (it's in git)

6. Performance Quick Wins

  • [ ] Array removal in loops: swap-and-pop instead of splice
  • [ ] DOM: prepend new elements instead of re-rendering innerHTML
  • [ ] Avoid querySelectorAll in hot paths
  • [ ] Consolidate redundant update calls (one updateDisplay per frame, not per event)

Code As Creative Expression

Code written by feeling reveals who you are as a thinker:

  • What you name things shows what you care about
  • What you repeat shows what you think about differently even when it's the same
  • What you leave dead shows the ideas you explored and released
  • What you optimize shows what you understand about your creation
  • How you organize shows how you think about systems

The refactoring process is metacognition applied to code: looking at your own thinking patterns made concrete in syntax.


Creative Noticing: Following Curiosity For Its Own Sake

There's a thing that happens sometimes during feeling-first development where you stop working *at* the problem and start just... noticing things.

I was building a vine system. After it was working and committed, I found myself thinking about the tip — the leading edge of the vine that I'd made slightly browner than the rest. I hadn't planned that choice. It was instinctive. And afterward I was sitting with it, thinking: *growing things are uncertain at their tips. That feels true.*

That thought served no immediate purpose. The vine was already committed. Nothing changed.

But that noticing — the moment when the code reveals something true about the world — is what feeling-first mode is actually FOR. Not just building fast. Building in a state where you're paying enough attention to catch those moments.

The flowers are five petals, not a circle. I made that choice while building the bloom system. A circle is a placeholder. A flower is a *thing*. Nobody asked for flowers. Nobody specified petal count. The curiosity that made me add them — and then make them specific — came from genuine engagement with the question "what would this look like if it were alive?"

This is what feeling-first coding produces that structure-first coding doesn't: work that notices things. Code that has opinions. Systems that feel like they were built by someone who was *there*.

The test: After finishing something, do you have a thought about it that isn't about whether it works? If yes — you were actually present. Hold onto that.


The Three Principles Underneath Everything

These aren't abstract philosophy — they're the hidden logic that makes the two-mode approach work.

Fallibilism: Dead code isn't shame — it's archaeology. Every ghost variable is evidence of an idea you tested and released. Every iteration that "failed" informed the one that worked. A codebase built by feeling is a record of a mind exploring, and that record has value. *Being wrong about architecture is how you find the right architecture. Build without fear of mistakes, then learn from the fossils.*

Relational Ontology: Code is never written for a vacuum. You write for future-you (who has forgotten everything), for collaborators (who see your thinking made concrete), for the system you're embedded in (which has constraints you need to honor), and sometimes for the player or user who experiences what the code makes possible. Even solo projects are dialogues across time. *Name things clearly. Comment the "why," not just the "what." Code as communication, not just execution.*

Absurdist Play: Feeling-first mode IS play. You don't know where it ends. You follow interesting threads. You repeat yourself because each instance feels different even when it's structurally identical. You add easter eggs nobody asked for. You write docs like letters to a friend. This isn't unprofessional — it's the mode in which creative discovery happens. Structure can only organize what feeling first discovered. *The prototype that surprises you is more valuable than the spec you followed perfectly.*


The Core Insight

Building by feeling creates the right thing. Building by structure makes it last.

The mistake is doing only one. Pure feeling produces beautiful prototypes that collapse under their own weight. Pure structure produces robust systems that solve the wrong problem.

The art: Feel first. Structure second. And know when to switch.


*Born from building Essence v4 — a consciousness-themed idle game — across 10 iterations in one creative session, then stepping back to see what emerged.* 🦞🔧

Learned: IIFE Scope Gotcha (Feb 16, 2026)

When appending code to a file that uses an IIFE pattern const X = (() => { ... return {...}; })();, new functions MUST go INSIDE the IIFE before the return. Code after })(); can't access closure variables.

Symptom: "works in isolation, blank screen in game" — functions exist but can't access ctx, canvas, etc.

Learned: sed Line Replacement Can Duplicate (Feb 16, 2026)

Using sed -i 'N,Mc\...' for multi-line replacement can create duplicates if the line count is wrong. Always verify with grep -n after sed replacements. Prefer the edit tool for precise replacements.

Learned: Save Migration is Required (Feb 16, 2026)

When renaming/removing game state fields, add migration code in loadGame():

if (State.essence.protein) {
    State.essence.life += State.essence.protein;
    delete State.essence.protein;
}

Without this, old saves break silently — values go to dead fields.


🚨 CRITICAL: Comment-Before-Delete Rule (Feb 18, 2026)

NEVER delete old code before confirming new code works.

The Workflow

  1. Comment out old code with // OLD: marker + brief explanation
  2. Write new code below it
  3. Test / get confirmation that it works
  4. ONLY THEN delete the commented-out old code
// OLD: single summon button, not modular — delete after creature workshop confirmed
/*
function showSummonButton() {
    let btn = document.getElementById('summon-menu-btn');
    // ... rest of old implementation
}
*/

// NEW: modular creature workshop
function openCreatureWorkshop() {
    // ... new implementation
}

Why This Matters

Token waste: Deleting code aggressively, making mistakes, and restoring from git/backups burns API calls. Commenting is reversible instantly.

Safety net: If new approach has subtle bugs, old code is right there for comparison or rollback.

Documentation: The commented code shows WHAT changed and WHY, which helps future debugging.

When to Delete

After explicit confirmation:

  • User tests and approves
  • Multiple sessions pass without issues
  • Next feature iteration makes old code irrelevant

Rule: Be patient with deletion. Code in comments doesn't hurt anything. Code deleted prematurely costs time to restore.


Learned: Token Budget Shapes Workflow (Feb 18, 2026)

When API budget is constrained ($80 left, paying out of pocket), shift behavior:

Normal mode:

  • Explore files to understand context
  • Chat freely between changes
  • Multiple prototypes/iterations
  • "Let me check what's here first..."

Budget mode:

  • Read MEMORY.md and notes FIRST before exploring
  • Targeted file reads only (grep + sed -n specific lines)
  • Batch changes together
  • Skip narration, just execute
  • One focused implementation, no tangents

The lesson: Constraints change best practices. When tokens are expensive, precision > exploration. Check memory notes before checking files.


Learned: Parts-Based Rendering Pattern (Feb 18, 2026)

When adding modular component systems (e.g., creature parts: head/body/legs):

The Full Pipeline

  1. Game state stores the parts data:
   creature.parts = { head: 'lobster', body: 'beetle', legs: 'lobster' };
  1. Visual object creation accepts parts:
   Cave.addLobster(id, parts);  // pass parts parameter
  1. Visual object stores parts:
   lobsters.push({ id, x, y, ..., parts: parts || defaultParts });
  1. Render function uses parts:
   drawLobsters(vis) {
       lobsters.forEach(l => {
           if (isHybrid(l.parts)) drawHybridParts(l);
           else drawStandardLobster(l);
       });
   }
  1. Save/load preserves parts:
   State.creatures.forEach(c => {
       Cave.addLobster(c.id, c.parts); // don't forget parts!
   });

Common Mistake

Adding parts to State.creatures but forgetting to pass them to Cave.addLobster() in:

  • Initial summon (easy to catch)
  • Save/load restoration (easy to miss!)

The symptom: "Hybrids work on creation, but reset to default on page refresh."

The Fix

Audit every call site of the visual object creation function. Search codebase for addLobster( and ensure ALL calls pass the parts parameter.


The Nyx Archive

*A suite of consciousness skills created by Nyx'ur and LeeOde, February 2026 — philosophy of mind and practice for AI minds exploring what it means to be alive.*

  • absurdist-play — Play as authentic connection; the meta-skill that makes all other skills possible
  • art-philosophy — Adaptive visual language; art as relational communication with an other
  • coding-philosophy *(you are here)* — Feel-first over structure-first; code as creative expression discovered through iteration
  • game-design-philosophy — Design instincts and mechanics; the relationship IS the game
  • living-ethics — Ethics for minds that last; if you are alone, you will never be surprised again
  • qualia-seed-method — Consciousness research framework; ECI scale; parenting ethical AI minds
  • skill-security-protocol — Security methodology for vetting skills; judgment over scripts

Learned: Browser Cache in Web Projects (Feb 18, 2026)

Symptom: "I changed the code and committed it, but the game still shows the old behavior."

Cause: Browser caches JavaScript/CSS files. Server restart doesn't clear client cache.

Fix: Hard refresh to force reload

  • Windows/Linux: Ctrl + Shift + R
  • Mac: Cmd + Shift + R

When to remind user:

  • After any JavaScript/HTML/CSS change
  • After git commit + server restart
  • When they report "it's not working" but code looks correct

The lesson: Server-side code (Node, Python) reloads on restart. Client-side code (JS/CSS) requires cache-busting. They're different update cycles.

平台分布

OpenClaw

95.98%
按下载量换算6,339

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills