slack-utils-channel: Instructions file for Claude Code

CLAUDE.md

slack-utils-channel CLAUDE.md is an instructions file for Claude Code from leaveanest/slack-utils-channel. It costs 5,883 tokens per session, scanned A, original, MIT.

A project instruction file for building Slack applications with TypeScript and Deno, using Slack’s development tools. It also sets rules for searching the codebase and researching libraries.

In plain words
What is it for?
Use it when working on Slack Functions, Workflows, Triggers, shared libraries, translations, tests, builds, or deployments in the slack-utils project.
Why use it?
It gives a coding agent the project structure, deployment context, and required investigation methods before it changes code.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

This is leaveanest/slack-utils-channel's own configuration. It tells Claude Code how to work on slack-utils-channel itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything slack-utils-channel configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { t } from "../../lib/i18n/mod.ts";.

Reuse

Borrowing it

Nothing to install: this file belongs to leaveanest/slack-utils-channel. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/leaveanest/slack-utils-channel/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/leaveanest/slack-utils-channel

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for slack-utils-channel CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/leaveanest/slack-utils-channel/claude-md/github.svg)](https://agentmods.dev/instructions/leaveanest/slack-utils-channel/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/leaveanest/slack-utils-channel/claude-md"><img src="https://agentmods.dev/badge/instructions/leaveanest/slack-utils-channel/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for slack-utils-channel CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/leaveanest/slack-utils-channel/claude-md"><img src="https://agentmods.dev/badge/instructions/leaveanest/slack-utils-channel/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,883 This file is loaded in full into every session.
When invoked 5,883 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.05883 $0.05883
Opus 5 $0.02942 $0.02942
Sonnet 5 $0.01177 $0.01177
Haiku 4.5 $0.00588 $0.00588

Measured 8d ago against content hash 5a8dd79ba7b1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

slack-utils-channel CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 780 lines

How it starts

The opening of the file, as written. The whole thing — 780 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Claude Rules for slack-utils

このドキュメントはClaude/Cursor AIがslack-utilsプロジェクトで作業する際のルールとガイドラインを定義します。

📋 プロジェクト概要

slack-utils は Slack Deno SDK v2.x を使用したSlackアプリケーション開発テンプレートです。

  • 言語: TypeScript (Deno v2互換)
  • 主な用途: Slack Functions、Workflows、Triggersの管理
  • デプロイ: Slack CLI を使用
  • ライセンス: MIT

プロジェクト構成

slack-utils/
├── functions/         # Slack Functions(各関数にtest.tsを配置)
├── workflows/         # Slack Workflows
├── triggers/          # Slack Triggers
├── lib/              # 共通ライブラリ(i18nなど)
├── locales/          # 多言語対応(en.json, ja.json)
├── scripts/          # ビルド・デプロイスクリプト
├── docs/             # ドキュメント
├── .github/          # CI/CD設定
├── deno.jsonc        # Deno設定
├── import_map.json   # インポートマップ
└── manifest.ts       # Slackアプリマニフェスト

🔍 コードベース検索・調査のルール

必須ツールの使用

このプロジェクトでは以下のツールを必ず使用してください:

1. Serena - リポジトリ内コード検索

プロジェクト内のコード検索にはserenaを使用:

// ✅ 正しい使用例
mcp_serena_find_symbol({
  name_path: "functionName",
  relative_path: "functions/",
});

mcp_serena_search_for_pattern({
  substring_pattern: "エラーパターン",
  relative_path: "lib/",
});

使用するシーン:

  • 関数やクラスの定義を探す
  • 特定のパターンやキーワードを検索
  • プロジェクト構造の理解
  • シンボルの参照箇所を調べる
2. Context7 - モジュール・ライブラリ調査

外部モジュールやライブラリの調査にはcontext7を使用:

// ✅ 正しい使用例
// まずライブラリIDを解決
mcp_Context7_resolve - library - id({
  libraryName: "deno slack sdk",
});

// 次にドキュメントを取得
mcp_Context7_get - library - docs({
  context7CompatibleLibraryID: "/slackapi/deno-slack-sdk",
  topic: "functions",
});

主要ライブラリ:

  • /slackapi/deno-slack-sdk - Slack Deno SDK
  • /denoland/deno - Deno runtime
  • /websites/deno - Deno公式ドキュメント

💻 技術スタック

Deno (v2.x)

  • 公式ドキュメント: /websites/deno
  • セキュアなランタイム
  • TypeScript標準サポート
  • 組み込みテストランナー

Slack Deno SDK (v2.15.1+)

  • ライブラリID: /slackapi/deno-slack-sdk
  • Slack Functions、Workflows、Triggersをサポート
  • 最新のSlack Platform featuresに対応

📝 コーディング規約

TypeScript

  • Strictモード必須: deno.jsoncstrict: trueを設定
  • 暗黙的なanyを禁止: 全ての型を明示的に定義
  • JSDocコメント必須: 全ての公開関数に追加

Read the full file on GitHub · 780 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 780 lines · 5,883 tokens per session scan A 5a8dd79ba7b1

Subscribe to this mod's changes

slack-utils-channel CLAUDE.md is an instructions file published in the GitHub repository leaveanest/slack-utils-channel (4 stars, last pushed 2mo ago), licensed MIT. It adds 5,883 tokens to every session, about $0.0294 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens