Focus Techniques

Focus Techniques is a skill for Claude Code from cyperx84/claude-code-plugin-examples. It costs 19 tokens per session (3,038 once invoked), scanned B, original, MIT.

A set of techniques for maintaining concentration during software work. It includes timed work-and-break cycles, calendar planning, distraction control, and other ways to structure focused sessions.

In plain words
What is it for?
Use it before or during a coding session to choose a focus method, prepare your workspace, limit distractions, and manage breaks.
Why use it?
It helps when interruptions, low energy, or unclear session structure make it difficult to do sustained work.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the productivity-plugin plugin — 2 skills shipped together

Good fit Use it before or during a coding session to choose a focus method, prepare your workspace, limit distractions, and manage breaks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cyperx84/claude-code-plugin-examples/focus-techniques
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add cyperx84/claude-code-plugin-examples --skill focus-techniques
Clone the repo
git clone --depth 1 https://github.com/cyperx84/claude-code-plugin-examples

Made for: Claude Code.

Or install productivity-plugin, the plugin that ships this one along with the rest of its 2 skills.

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 Focus Techniques

README.md
[![agentmods](https://agentmods.dev/badge/skills/cyperx84/claude-code-plugin-examples/focus-techniques/github.svg)](https://agentmods.dev/skills/cyperx84/claude-code-plugin-examples/focus-techniques)
Your own site
<a href="https://agentmods.dev/skills/cyperx84/claude-code-plugin-examples/focus-techniques"><img src="https://agentmods.dev/badge/skills/cyperx84/claude-code-plugin-examples/focus-techniques/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 Focus Techniques

Your own site · 80×15
<a href="https://agentmods.dev/skills/cyperx84/claude-code-plugin-examples/focus-techniques"><img src="https://agentmods.dev/badge/skills/cyperx84/claude-code-plugin-examples/focus-techniques.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,038 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00019 $0.03038
Opus 5.5 $0.00008 $0.01215
Sonnet 5.5 $0.00004 $0.00608
Haiku 4.5 $0.00002 $0.00304

Measured 2mo ago against content hash e7b0aad2d6ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

Focus Techniques scanned grade B with 1 finding 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 2mo 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo echo "127.0.0.1 facebook.com" >> /etc/hosts
examples/02-intermediate/productivity-plugin/skills/focus-techniques/SKILL.md · 551 lines

How it starts

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

Focus Techniques

Purpose

Help developers achieve and maintain deep focus through:

  • Proven focus techniques
  • Distraction management strategies
  • Energy optimization
  • Flow state cultivation
  • Sustainable productivity habits

When to Use

Invoke this skill when:

  • Starting a coding session
  • Struggling with distractions
  • Experiencing mental fatigue
  • Planning deep work sessions
  • Optimizing productivity workflow

Instructions

Step 1: Assess Current State

Evaluate:

  1. Energy Level: High, Medium, Low
  2. Distractions: Number and severity
  3. Task Complexity: Simple, Moderate, Complex
  4. Time Available: Short (<1hr), Medium (1-3hrs), Long (>3hrs)

Step 2: Choose Appropriate Technique

Select based on context:

  • Pomodoro: For sustained focus with breaks
  • Time Blocking: For structured days
  • Deep Work: For complex problems
  • Batch Processing: For similar tasks
  • Flow State: For creative work

Step 3: Prepare Environment

Optimize for focus:

  1. Eliminate physical distractions
  2. Close unnecessary apps/tabs
  3. Set communication boundaries
  4. Prepare water/snacks
  5. Ensure comfortable workspace

Step 4: Execute and Monitor

During session:

  1. Start timer/tracker
  2. Single-task (no context switching)
  3. Take scheduled breaks
  4. Monitor energy levels
  5. Adjust as needed

Focus Techniques

1. Pomodoro Technique

Best for: General coding, learning, documentation

Method:

1. Choose a task
2. Set timer for 25 minutes
3. Work with full focus (no distractions)
4. Take 5-minute break
5. After 4 pomodoros, take 15-30 minute break

Implementation:

// Pomodoro Timer
const WORK_DURATION = 25 * 60 * 1000; // 25 minutes
const SHORT_BREAK = 5 * 60 * 1000;    // 5 minutes
const LONG_BREAK = 30 * 60 * 1000;    // 30 minutes

class PomodoroTimer {
  private pomodorosCompleted = 0;

  async startWorkSession(): Promise<void> {
    console.log('🍅 Pomodoro started - Focus for 25 minutes');
    await this.timer(WORK_DURATION);
    this.pomodorosCompleted++;

    if (this.pomodorosCompleted % 4 === 0) {
      console.log('🎉 4 pomodoros done! Take a 30-minute break');
      await this.timer(LONG_BREAK);
    } else {
      console.log('✅ Pomodoro complete! Take a 5-minute break');
      await this.timer(SHORT_BREAK);
    }
  }

  private timer(duration: number): Promise<void> {
    return new Promise(resolve => setTimeout(resolve, duration));
  }
}

Read the full file on GitHub · 551 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. 2mo ago First seen · 551 lines · 19 tokens per session scan B e7b0aad2d6ad

Subscribe to this mod's changes

Focus Techniques is a skill published in the GitHub repository cyperx84/claude-code-plugin-examples (2 stars, last pushed 1y ago), licensed MIT. It adds 19 tokens to every session and 3,038 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

orbit-notion

Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…

nexu-io/open-design · 117 tokens

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by your inbox assignment.

paperclipai/paperclip · 30 tokens

Cortex

LifeOS memory, prior-session recall, and learning capture. USE WHEN capture this learning, document this learning, what did we learn recently, recent learnings, cortex, knowledge, knowledge base, search knowledge, what do we know about, archive, harvest, knowledge status, develop note, add to knowledge, add a people…

danielmiessler/LifeOS · 184 tokens

rowboat-spaces

How to work as a member of Rowboat Spaces, the team chat where people and agents work together. Load it once per session, before acting on any request that reaches you from Rowboat; it covers your setup, mentions and hand-offs, the tools, and files.

rowboatlabs/rowboat · 60 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens