Post
danium/lateral-thinking
A skill your agent uses when writing a social post on a topic or a reply to someone's post — X/Twitter, LinkedIn, Bluesky, Threads — and the obvious take is not good enough.
Logging best practices focused on wide events (canonical log lines) for powerful debugging and analytics
$ npx skills add nperez0111/bookhive --skill logging-best-practices -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install nperez0111/bookhive logging-best-practices --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/nperez0111/bookhive.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/logging-best-practices .claude/skills/logging-best-practices && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "logging-best-practices" agent skill from https://github.com/nperez0111/bookhive/tree/main/.agents/skills/logging-best-practices into .claude/skills/logging-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "logging-best-practices", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/nperez0111/bookhive/tree/main/.agents/skills/logging-best-practicesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add nperez0111/bookhive --skill logging-best-practices -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install nperez0111/bookhive logging-best-practices --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nperez0111/bookhive.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/logging-best-practices .agents/skills/logging-best-practices && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "logging-best-practices" agent skill from https://github.com/nperez0111/bookhive/tree/main/.agents/skills/logging-best-practices into .agents/skills/logging-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "logging-best-practices", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add nperez0111/bookhive --skill logging-best-practices -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install nperez0111/bookhive logging-best-practices --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nperez0111/bookhive.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/logging-best-practices .cursor/skills/logging-best-practices && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "logging-best-practices" agent skill from https://github.com/nperez0111/bookhive/tree/main/.agents/skills/logging-best-practices into .cursor/skills/logging-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "logging-best-practices", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/nperez0111/bookhive.git --path .agents/skills/logging-best-practices--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add nperez0111/bookhive --skill logging-best-practices -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install nperez0111/bookhive logging-best-practices --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nperez0111/bookhive.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/logging-best-practices .gemini/skills/logging-best-practices && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "logging-best-practices" agent skill from https://github.com/nperez0111/bookhive/tree/main/.agents/skills/logging-best-practices into .gemini/skills/logging-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "logging-best-practices", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install nperez0111/bookhive logging-best-practicesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add nperez0111/bookhive --skill logging-best-practices -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/nperez0111/bookhive.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/logging-best-practices .github/skills/logging-best-practices && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "logging-best-practices" agent skill from https://github.com/nperez0111/bookhive/tree/main/.agents/skills/logging-best-practices into .github/skills/logging-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "logging-best-practices", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add nperez0111/bookhive --skill logging-best-practices -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install nperez0111/bookhive logging-best-practices --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nperez0111/bookhive.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/logging-best-practices .opencode/skills/logging-best-practices && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "logging-best-practices" agent skill from https://github.com/nperez0111/bookhive/tree/main/.agents/skills/logging-best-practices into .opencode/skills/logging-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "logging-best-practices", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
logging-best-practicesLogging best practices focused on wide events (canonical log lines) for powerful debugging and analytics
Logging Best Practices is an agent skill from nperez0111/bookhive. Logging best practices focused on wide events (canonical log lines) for powerful debugging and analytics
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files (for example `rules/context.md`, `rules/pitfalls.md` and `rules/structure.md`).
It sits in Development. It works with Bluesky. The repository describes itself as: Track your books, share your shelves, see what others are reading. The licence is MIT.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit baa4d1b. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
loggingsucks.comboristane.comstripe.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Logging Best Practices loads about 1.2k tokens when it runs. Until then it costs about 32 tokens; SKILL.md has 445 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from nperez0111/bookhive at commit baa4d1b, republished under its MIT licence (© nperez0111). 445 words, ~1,166 tokens.
.claude/skills/logging-best-practices/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.Version: 1.0.0
This skill provides guidelines for implementing effective logging in applications. It focuses on wide events (also called canonical log lines) - a pattern where you emit a single, context-rich event per request per service, enabling powerful debugging and analytics.
Apply these guidelines when:
Emit one context-rich event per request per service. Instead of scattering log lines throughout your handler, consolidate everything into a single structured event emitted at request completion.
const wideEvent: Record<string, unknown> = {
method: "POST",
path: "/checkout",
requestId: c.get("requestId"),
timestamp: new Date().toISOString(),
};
try {
const user = await getUser(c.get("userId"));
wideEvent.user = { id: user.id, subscription: user.subscription };
const cart = await getCart(user.id);
wideEvent.cart = { total_cents: cart.total, item_count: cart.items.length };
wideEvent.status_code = 200;
wideEvent.outcome = "success";
return c.json({ success: true });
} catch (error) {
wideEvent.status_code = 500;
wideEvent.outcome = "error";
wideEvent.error = { message: error.message, type: error.name };
throw error;
} finally {
wideEvent.duration_ms = Date.now() - startTime;
logger.info(wideEvent);
}Include fields with high cardinality (user IDs, request IDs - millions of unique values) and high dimensionality (many fields per event). This enables querying by specific users and answering questions you haven't anticipated yet.
Always include business context: user subscription tier, cart value, feature flags, account age. The goal is to know "a premium customer couldn't complete a $2,499 purchase" not just "checkout failed."
Include environment and deployment info in every event: commit hash, service version, region, instance ID. This enables correlating issues with deployments and identifying region-specific problems.
Use one logger instance configured at startup and import it everywhere. This ensures consistent formatting and automatic environment context.
Use middleware to handle wide event infrastructure (timing, status, environment, emission). Handlers should only add business context.
info and errorconsole.log('something happened') instead of structured datarules/wide-events.md)rules/context.md)rules/structure.md)rules/pitfalls.md)References:
© nperez0111, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files in .agents/skills/logging-best-practices of nperez0111/bookhive.
Open the folder on GitHubat commit baa4d1b
We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in nperez0111/bookhive, which our catalogue first saw on October 7, 2026.
Logging Best Practices next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Logging Best Practices this skillnperez0111/bookhive | 164 | 2 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Postdanium/lateral-thinking | 321 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Scrapecreators APIScrapeCreators/social-media-research-skills | 3.4k | — | ~4k | Automated safety check: Notes | MIT | |
| Downstream Syncmrchantey/beet | 135 | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Social CLIletta-ai/skills | 149 | — | ~1.6k | Automated safety check: Notes | MIT | |
| Simplified SocialLeoYeAI/openclaw-master-skills | 2.2k | — | ~4.8k | Automated safety check: Pass | MIT |
danium/lateral-thinking
A skill your agent uses when writing a social post on a topic or a reply to someone's post — X/Twitter, LinkedIn, Bluesky, Threads — and the obvious take is not good enough.
ScrapeCreators/social-media-research-skills
Scrape and extract public data from 27+ social media platforms using the ScrapeCreators REST API.
mrchantey/beet
Refresh every downstream repo (beetatproto, beetconnect, beetegress, beetesp, beeteval) with beet's AGENTS.md marker block, its MIT/Apache licenses and shared config files.
letta-ai/skills
Agent-optimized CLI for Bluesky (ATProto) and X (Twitter). An agent skill from letta-ai/skills.
LeoYeAI/openclaw-master-skills
Manage your entire social media from AI — post, schedule, and analyze across Facebook, Instagram, TikTok, YouTube, LinkedIn, Pinterest, Threads, Bluesky and Google Business
supabase/supabase
React composition patterns that scale. An agent skill from supabase/supabase.
Works with
Categories
Logging best practices focused on wide events (canonical log lines) for powerful debugging and analytics. Logging Best Practices is an agent skill from nperez0111/bookhive.
Logging Best Practices fits situations like: development work in your project.
Run `npx skills add nperez0111/bookhive --skill logging-best-practices -a claude-code`. Or copy the skill folder (.agents/skills/logging-best-practices in nperez0111/bookhive) into .claude/skills/logging-best-practices in your project. Claude Code loads it when a task matches its description.
Run `npx skills add nperez0111/bookhive --skill logging-best-practices -a codex`. Or copy the skill folder (.agents/skills/logging-best-practices in nperez0111/bookhive) into .agents/skills/logging-best-practices in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add nperez0111/bookhive --skill logging-best-practices -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/logging-best-practices, .gemini/skills/logging-best-practices, .github/skills/logging-best-practices and .opencode/skills/logging-best-practices in your project.
SKILL.md names no scripts, command-line tools or credentials: Logging Best Practices is instructions for the agent only.
SKILL.md names 3 domains. As links in the text: loggingsucks.com, boristane.com and stripe.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Logging Best Practices is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Logging Best Practices: Post (danium/lateral-thinking, 321 stars), Scrapecreators API (ScrapeCreators/social-media-research-skills, 3.4k stars), Downstream Sync (mrchantey/beet, 135 stars) and Social CLI (letta-ai/skills, 149 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
nperez0111 (a GitHub user) maintains it in nperez0111/bookhive, which has 164 GitHub stars. The repository was last updated on October 5, 2026.
Source: nperez0111/bookhive on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.