Skip to content

Instantly share code, notes, and snippets.

View kevinslin's full-sized avatar

Kevin Lin kevinslin

View GitHub Profile
@kevinslin
kevinslin / codex-v2.md
Last active May 5, 2026 22:45
OpenClaw Codex plugin integration spec

Codex Plugin Integration

Summary

OpenClaw should be able to use plugins that are available from the user's Codex installation while preserving the way the Codex client activates and executes plugins. The minimal implementation is a bridge inside the bundled codex plugin that:

  • inventories Codex plugin marketplace entries through Codex app-server,
  • installs or re-enables selected plugin bundles through plugin/install,
  • refreshes plugin, skill, hook, app, and MCP runtime state after install,
  • publishes one OpenClaw tool per enabled plugin,
  • invokes the plugin by starting an isolated Codex app-server thread with the installed plugin runtime available,
@kevinslin
kevinslin / arch.md
Last active April 28, 2025 01:01
textpress arch

Pseudocode

async function sync(dir) {
  const jwt = await loginWithSupabase();                // opens browser once
  const remote = await fetchManifest(jwt);

  const local  = await buildLocalMap(dir, remote);      // reuse cache
 const diff = diffLocalVsRemote(local, remote); // { upload, delete }
@kevinslin
kevinslin / pkg.textpress.md
Last active April 20, 2025 22:09
textpress.md
id s0o4y7x0hii013s5odjdobs
title Textpress
desc
updated 1745186728475
created 1745186544833

Plain Text Publishing

sources:
source/a/dd_agent:
type: datadog_agent
address: 0.0.0.0:8020
multiple_outputs: true
sinks:
sink/l/dd:
site: ${DD_SITE}
type: datadog_logs
inputs:
@kevinslin
kevinslin / nimbus.privatelink.aws.yaml
Created April 16, 2024 00:25
Nimbus Private Link
# -*- coding: utf-8 -*-
import sys
import json
from typing import Optional, Tuple
import pprint
from log_filters import filter_logs_by_source_type
class MergePolicy:
@kevinslin
kevinslin / keybindings.json
Last active August 4, 2022 04:44
kevin.daily-journal-template
// Place your key bindings in this file to override the defaults
[
// The following are Kevin's keybindings for VSCode
// They are made available under CC BY 4.0
//
// To navigate
// `==` denote sections
// `---` denotes subsections
//
// == Dendron

Dendron Extended PR Checklist

  • NOTE: the links don't work. you'll need to go into the wiki and use lookup to find the note until we fix some issues in the markdown export

Code

Basics

First Time Specifics

  • if its your first pull request to Dendron, watch out for the CLA bot that will ask you to agree to Dendron's CLA
  • if its your first pull request and you're on our Discord, add your discord handle so that we can award you the horticulturalist role when the PR is merged

Commit

  • make sure your branch names adhere to our branch style
  • make sure the commit message follows Dendron's commit style
  • if this pull request is addressing an existing issue, make sure to link this PR to the issue that it is resolving.
@kevinslin
kevinslin / multi-workspace.md
Created December 5, 2021 17:34
mutli-workspace-setup

Creating a Personal and Work specific workspace

  1. Create a personal workspace using Initialize Workspace
    • initialize with a blank vault
      • if you want to version control the vault, run Vault Convert to add a git repository to this vault
    • repeat this process with other vaults as needed (we recommend just starting off with a single vault), see reasons for going multi-vault here
    • add your workspace to version control by running the following:
      1. Initialize a git repo