소스 정보
- 저장소
- javimosch/open-claw-skills
- 최근 소스 활동
- 2026년 6월 6일 19:20
- 감지된 SKILL.md 언어
- 영어
- 스타
- 0
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/javimosch/open-claw-skills --skill focusnote-add-to-daily-note명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Connect your AI assistant to GoHighLevel CRM via the official API v2. Manage contacts, conversations, calendars, pipelines, invoices, payments, workflows, and 30+ endpoint groups through natural language. Includes interactive setup wizard and 100+ pre-built, safe API commands. Python 3.6+ stdlib only — zero external dependencies.
Manage Cloudflare DNS records, Tunnels (cloudflared), and Zero Trust policies. Use for pointing domains, exposing local services via tunnels, and updating ingress rules.
Mema's personal brain - SQLite metadata index for documents and Redis short-term context buffer. Use for organizing workspace knowledge paths and managing ephemeral session state.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | focusnote-add-to-daily-note |
| description | Add text to today's daily note in FocusNote as a new bullet point |
This skill adds user-provided text to today's daily note in FocusNote as a new bullet point.
~/.lucia/documents-path.txtYYYY-MM-DD format~/.lucia/documents-path.txt on startup)When the user asks to add text to their daily note, follow these steps:
const fs = require("fs");
const path = require("path");
const os = require("os");
// Read the documents path from FocusNote's config file
const focusnoteConfigPath = path.join(
os.homedir(),
".lucia",
"documents-path.txt",
);
const documentsPath = fs.readFileSync(focusnoteConfigPath, "utf-8").trim();
const today = new Date();
const year = today.getFullYear();
const month = String(today.getMonth() + 1).padStart(2, "0");
const day = String(today.getDate()).padStart(2, "0");
const todayDocName = `${year}-${month}-${day}`;
const dailyNotePath = path.join(documentsPath, "notes", todayDocName);
const structurePath = path.join(dailyNotePath, "_structure.json");
const metadataPath = path.join(dailyNotePath, "_metadata.json");
const nodesDir = path.join(dailyNotePath, ".nodes");
if (!fs.existsSync(dailyNotePath)) {
// Create directory structure
fs.mkdirSync(dailyNotePath, { recursive: true });
fs.mkdirSync(nodesDir, { recursive: true });
// Create metadata
const metadata = {
name: todayDocName,
createdAt: Date.now(),
updatedAt: Date.now(),
};
fs.writeFileSync(metadataPath, JSON.stringify(metadata, null, 2));
// Create empty structure
const structure = {
rootNodeIds: [],
deletedNodeIds: [],
nodes: {},
};
fs.writeFileSync(structurePath, JSON.stringify(structure, null, 2));
}
const { v4: uuidv4 } = require("uuid"); // npm install uuid
// Generate unique node ID
const nodeId = uuidv4();
const timestamp = Date.now();
// Create Lexical bullet structure
const lexicalContent = {
root: {
children: [
{
children: [
{
children: [
{
detail: 0,
format: 0,
mode: "normal",
style: "",
text: userText, // The text from the user
type: "text",
version: 1,
},
],
direction: "ltr",
format: "",
indent: 0,
type: "listitem",
version: 1,
value: 1,
},
],
direction: "ltr",
format: "",
indent: 0,
type: ,
: ,
: ,
: ,
: ,
},
],
: ,
: ,
: ,
: ,
: ,
},
};
newNode = {
: nodeId,
: .(lexicalContent),
: ,
: ,
: ,
: ,
: ,
: ,
: timestamp,
: timestamp,
};
// Shard by first 2 characters of node ID
const shard = nodeId.substring(0, 2);
const shardDir = path.join(nodesDir, shard);
if (!fs.existsSync(shardDir)) {
fs.mkdirSync(shardDir, { recursive: true });
}
const nodeFilePath = path.join(shardDir, `node-${nodeId}.json`);
fs.writeFileSync(nodeFilePath, JSON.stringify(newNode, null, 2));
// Read current structure
const structure = JSON.parse(fs.readFileSync(structurePath, "utf-8"));
// Add node to structure
structure.rootNodeIds.push(nodeId);
structure.nodes[nodeId] = {
parentId: null,
orderIndex: structure.rootNodeIds.length - 1,
childIds: [],
};
// Update timestamp
structure.updatedAt = timestamp;
// Save updated structure
fs.writeFileSync(structurePath, JSON.stringify(structure, null, 2));
Here's a complete Node.js script you can use:
#!/usr/bin/env node
const fs = require("fs");
const path = require("path");
const os = require("os");
const { v4: uuidv4 } = require("uuid");
function addToDailyNote(userText) {
try {
// Step 1: Read documents path
const focusnoteConfigPath = path.join(
os.homedir(),
".lucia",
"documents-path.txt",
);
if (!fs.existsSync(focusnoteConfigPath)) {
throw new Error(
"FocusNote config file not found. Make sure FocusNote is running.",
);
}
const documentsPath = fs.readFileSync(focusnoteConfigPath, "utf-8").trim();
// Step 2: Generate today's date
const today = new Date();
const year = today.getFullYear();
const month = String(today.getMonth() + 1).padStart(2, "0");
const day = String(today.()).(, );
todayDocName = ;
dailyNotePath = path.(documentsPath, , todayDocName);
structurePath = path.(dailyNotePath, );
metadataPath = path.(dailyNotePath, );
nodesDir = path.(dailyNotePath, );
(!fs.(dailyNotePath)) {
fs.(dailyNotePath, { : });
fs.(nodesDir, { : });
metadata = {
: todayDocName,
: .(),
: .(),
};
fs.(metadataPath, .(metadata, , ));
structure = {
: [],
: [],
: {},
};
fs.(structurePath, .(structure, , ));
}
nodeId = ();
timestamp = .();
lexicalContent = {
: {
: [
{
: [
{
: [
{
: ,
: ,
: ,
: ,
: userText,
: ,
: ,
},
],
: ,
: ,
: ,
: ,
: ,
: ,
},
],
: ,
: ,
: ,
: ,
: ,
: ,
: ,
: ,
},
],
: ,
: ,
: ,
: ,
: ,
},
};
newNode = {
: nodeId,
: .(lexicalContent),
: ,
: ,
: ,
: ,
: ,
: ,
: timestamp,
: timestamp,
};
shard = nodeId.(, );
shardDir = path.(nodesDir, shard);
(!fs.(shardDir)) {
fs.(shardDir, { : });
}
nodeFilePath = path.(shardDir, );
fs.(nodeFilePath, .(newNode, , ));
structure = .(fs.(structurePath, ));
structure..(nodeId);
structure.[nodeId] = {
: ,
: structure.. - ,
: [],
};
structure. = timestamp;
fs.(structurePath, .(structure, , ));
.();
{ : , : todayDocName, nodeId };
} (error) {
.(, error.);
{ : , : error. };
}
}
(. === ) {
userText = process..().() || ;
(userText);
}
. = { addToDailyNote };
User: "Add to my daily note: Finished the OpenClaw skill implementation"
Assistant: I'll add that to your daily note.
# Run the script
node add-to-daily-note.js "Finished the OpenClaw skill implementation"
Output: ✅ Added bullet to 2026-02-11: "Finished the OpenClaw skill implementation"
User: "Add a reminder to call mom tomorrow"
Assistant: I'll add that to today's note.
node add-to-daily-note.js "Reminder to call mom tomorrow"
add-to-daily-note.js in your OpenClaw skills directorynpm install uuidchmod +x add-to-daily-note.jsError: "FocusNote config file not found"
~/.lucia/documents-path.txt existsBullets not appearing in FocusNote
.nodes/ directory_structure.json was updated correctly