Role Switch

by Zafrem
5
4
3
2
1
Score: 42/100

Description

The RoleSwitch plugin helps you move between work modes with more intention instead of drifting from one task style to another. It lets you define custom roles such as developer, writer, researcher, or QA, then switch between them using timed transitions, session locks, and clear visual cues across the interface. The plugin also tracks how long each role stays active and presents that data through daily, weekly, and monthly analytics, which makes work patterns easier to notice. A side panel, dashboard, reminders, and live countdowns keep the current role visible while you work. It is built for people who handle different responsibilities in the same vault and want stronger focus, cleaner context shifts, and better awareness of where their time actually goes.

Reviews

No reviews yet.

Stats

4
stars
803
downloads
1
forks
183
days
197
days
197
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
5
total issues
2
open issues
3
closed issues
46
commits

Latest Version

7 months ago

Changelog

The release name has been changed.

Changed from Role-switch to Role switch.

README file from

Github

RoleSwitch - Obsidian Plugin

An Obsidian plugin that helps you consciously switch between different work roles—like developer, writer, researcher, or QA—with intentional transitions and session tracking.

Why I built this: I wear many hats throughout the day (developer, writer, researcher). This plugin helps me be intentional about which role I'm in and switch between them mindfully.

Demo

Demo

Mobile Demo

Demo1

Features

Core Features

  • Custom Work Roles: Define roles with unique colors and letter-based icons (A-Z)
  • Intentional Transitions: Configurable transition delays with educational messages about context switching
  • Session Locks: Minimum session duration prevents task-jumping and encourages deep focus
  • Role Awareness: Visual cues (status bar, workspace borders, colored UI) remind you which role you're in
  • Session Tracking: Track time spent in each role with real-time timers and historical data
  • Analytics Dashboard: View daily, weekly, and monthly time statistics

User Interface

  • Side Panel View: Quick access to all roles with real-time session tracking
  • Role Dashboard: Comprehensive analytics and session management
  • Smart Settings: Preset buttons + direct input fields for easy configuration
  • Mobile Optimized: Fully responsive design for mobile devices
  • Visual Feedback: Click animations and color-coded role indicators

Smart Features

  • Periodic Reminders: Optional notifications to keep you aware of your current role
  • Real-time Updates: Live countdown timers for session locks and durations
  • Data Preservation: Historical data retained even when roles are deleted (appears as "Deleted Role")
  • Transition Messages: Educational tips about context switching during role transitions
  • Auto-save: Data saved periodically and when app is backgrounded (mobile-friendly)

Use Cases & Examples

Solo Developer Workflow

When you're wearing multiple hats on a project:

🔧 Developer Role: Writing code, implementing features

  • Switch to Developer mode when coding
  • Track time spent on implementation vs other activities
  • Use role notes to capture technical decisions and code ideas

🔍 QA Role: Testing, bug hunting, quality assurance

  • Switch to QA mode when testing your own code
  • Approach your work with a different mindset - looking for issues rather than building
  • Track testing time separately from development time
  • Document bugs and edge cases in role-specific notes

📋 Planning Role: Architecture, project planning, requirements

  • Switch to Planning mode for high-level thinking
  • Step back from code details to see the bigger picture
  • Track time spent on strategic thinking vs tactical work

Content Creator Workflow

For writers, bloggers, and content creators:

✍️ Writer Role: Creating first drafts, brainstorming content

  • Focus purely on getting ideas down without judgment
  • Track productive writing time vs editing time
  • Capture creative ideas in role-specific notes

📝 Editor Role: Reviewing, refining, and polishing content

  • Switch mindset from creative to critical
  • Approach your own work objectively for better editing
  • Track revision time to understand your editing patterns

📊 Reviewer Role: Final review, fact-checking, publishing prep

  • Final quality check with fresh perspective
  • Ensure consistency and accuracy before publication
  • Document review checklists and publishing notes

Research & Analysis Work

For researchers, analysts, and knowledge workers:

🔍 Researcher Role: Gathering information, exploring topics

  • Deep dive into sources and materials
  • Track research time vs analysis time
  • Collect and organize findings in role notes

🧠 Analyst Role: Processing information, drawing conclusions

  • Switch from gathering to synthesizing mode
  • Focus on patterns and insights rather than collection
  • Document analytical frameworks and methodologies

📊 Evaluator Role: Reviewing findings, quality control

  • Step back to assess research quality and completeness
  • Challenge your own conclusions with fresh eyes
  • Track validation and review activities separately

Quick Start

  1. Install: Enable "RoleSwitch" in Settings → Community plugins
  2. Setup: Go to Settings → RoleSwitch
    • Create your work roles (e.g., "Developer", "Writer", "Researcher")
    • Choose letter icons (A-Z), colors, and descriptions
    • Configure transition duration and minimum session duration
  3. Access: Open the RoleSwitch side panel from the left sidebar
  4. Start: Click on any role to begin a session
  5. Switch: When locked, wait for the minimum duration or use the transition modal
  6. Track: View your analytics in the Dashboard button

Settings Guide

Session Settings

  • Transition duration: Time to wait before switching roles (5-120 seconds)
    • Presets: 5s, 10s, 30s or enter custom value
  • Minimum session duration: Minimum time before allowing role switches (5-60 minutes)
    • Presets: 5m, 15m, 30m or enter custom value

Display Settings

  • Show status bar: Display current role in Obsidian status bar
  • Show workspace border: Visual border in role's color
  • Border opacity: Adjust border visibility (0.1-1.0)
    • Presets: 0.3, 0.5, 0.8 or enter custom value
  • Show periodic reminder: Enable role reminders
  • Reminder interval: How often to show reminders (1-60 minutes)
    • Presets: 5m, 15m, 30m or enter custom value

Documentation

Key UI Elements

Side Panel

  • Header: Shows plugin logo and title
  • Roles Grid: Click any role to start/switch sessions
  • Current Session: Real-time duration and lock status
  • Quick Actions: Dashboard and End Session buttons

Transition Modal

When switching roles, you'll see:

  • Countdown timer
  • Educational message about context switching
  • Cancel button if needed

Role Dashboard

  • Analytics: Today, week, and month statistics
  • Current Session: Live tracking with lock countdown
  • Averages: Daily averages for week and month

Version Information

  • Version: 0.1.1
  • Minimum Obsidian: 1.6.0
  • Platforms: Windows, macOS, Linux, iOS, Android
  • License: MIT

Recent Updates

UI/UX Improvements

  • Letter-based icons (A-Z) for simpler role identification
  • Click highlight effects for better visual feedback
  • Improved icon selection with color toggle
  • End Session button always visible (disabled when locked)
  • Logo integration in side panel and dashboard

Feature Enhancements

  • Preset buttons + direct input for all settings
  • Unit labels for better clarity (seconds, minutes, opacity)
  • Transition messages with context switching education
  • Periodic reminders with customizable intervals
  • Real-time lock countdowns in multiple locations

Data & Stability

  • Auto-save on app backgrounding (mobile-friendly)
  • Historical data preserved when roles deleted
  • Error handling for save operations
  • Fixed mobile data persistence issues

Disabled Features

The following features are currently disabled in this version but remain in the codebase for future use:

  • API & Synchronization Settings: Combined API server and device synchronization functionality (will be enabled in a future version)

Be intentional about your roles. Switch with purpose.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Auto Hide Cursor
3 years ago by Mo Ismat
A simple plugin for https://obsidian.md
Blur Mode
2 years ago by dangehub
Blur Mode - Blur elements on the obsidian interface for presentations or screenshots|模糊模式 - 对obsidian界面上的元素进行模糊处理以便演示或截图
Checkbox Time Tracker
2 years ago by UD
Checkbox Time Tracker for Obsidian
Chronotyper
a year ago by BambusControl
Obsidian plugin for tracking note edit time
Codian
20 days ago by bcs
Open-source Obsidian plugin for local coding agents
Countdown To
a year ago by Gui Cattani
A countdown/progress Obsidian widget using progressbar.js
Crackboard
2 years ago by Franklin
Obsidian plugin for crackboard.dev
Dangerous Mode
9 months ago by Vansh Kumar
most dangerous writing app in obsidian
Day Planner
a month ago by ivan-lednev
An Obsidian plugin for day planning with a clean UI and a simple task format
Dialogue Mode
2 years ago by Patrick Chiang
digital paper
3 years ago by Daniel Fernandes
turn off backspace and undo, like writing with a pen on real paper.
Disable Tabs
8 months ago by David V. Kimball
Disables having more than one tab open at a time Obsidian.
Fastimer
3 years ago by vkostyanetsky
Intermittent fasting tracker plugin for Obsidian
Fetch Prayer Times
2 years ago by Ecys
Fetches times from Aladhan API and inserts into a table.
Focus Active Sentence
3 years ago by artisticat
Highlight the active sentence in Obsidian.md
Focus and Highlight
4 years ago by BO YI TSAI
A plugin for obsidian to focus and highlight on a specific heading in Reading mode.
Focus Mode
5 years ago by ryanpcmcquen
Add focus mode to Obsidian.
Focus Time
2 years ago by AstraDev
Focus Time is a plugin that helps you track how much time you spend on each note.
Folder Focus Mode
4 years ago by grochowski
Focus file explorer on chosen folder and its files and subdirectories, while hiding all the other elements.
Full Screen Toggle
3 years ago by Donkey Pacific
Fullscreen toggle plugin across all platforms for Obsidian.
Fullscreen Focus Mode
6 years ago by Razum
Ghost Fade Focus
5 years ago by Sami Korpela
Ghost Fade Focus plugin for Obsidian
Grandfather
5 years ago by Danny Hernandez
A simple Obsidian plugin to display the time and date on the status bar
Journalit
a month ago by Cursive
Obsidian Trading Journal Plugin | Local-first trade tracker with CSV import, MT4 & Tradovate sync, analytics dashboard & review templates
Lark Style CountDown Timer
9 months ago by Zhaoyang Yu
Live Life Recording
2 months ago by goryugocast
Operate tasks directly in Markdown with start/finish records, routine insertion, and a lightweight daily summary for Obsidian.
ManicTime
3 years ago by Finkit d.o.o.
Minidoro
8 months ago by Shakti Sampad Swain
Minidoro is a minimalist Pomodoro timer that lives right in your Obsidian header. It's designed to be simple, unobtrusive, and fully customizable.
My Typewriter Line
9 months ago by dmo-code
Obsidian-compatible Watcher for ActivityWatch
3 years ago by Grimmauld
Obsidian plugin to track user activity with ActivityWatch
Operon
18 days ago by Hasan Yılmaz
Task management system for humans and agents in Obsidian.
Perilous Writing
3 years ago by Sameer Ismail
An Obsidian plugin which demands writing output, at the threat of bludgeoning your in-progress work.
PomoBar
a year ago by Miguel Pimentel
PomoBar is a minimalist Pomodoro timer that lives in your Obsidian status bar with optional audio notifications to keep you on track
Prisma Calendar
23 days ago by Matej Vavro Productivity
Prisma is not just a calendar plugin. It turns any note with a date into a flexible planning system inside Obsidian. There are no rigid schemas or predefined structures — just your data, your rules, fully under your control. It lets you see your entire vault through time.
Project Manager
4 months ago by stepankropachev
Project management natively in your Obsidian vault. Table, Gantt, and Kanban views with subtasks, dependencies, time tracking, and custom fields — all stored as plain Markdown. No external services.
ProZen
4 years ago by Moskvitin
Obsidian plugin for going FULL screen
Relative Timestamps
2 years ago by Charles Young
RescueTime
3 years ago by Tatsuya Hayashi
A RescueTime integration plugin to view your activity logs in Obsidian.
Simple Focus
2 years ago by Lin Qing
Allows you to focus on a specific file or folder. 让你可以专注于一个文件或文件夹
SolidTime Integration
a year ago by proniclabs
Obsidian SolidTime Integration Plugin
SQLSeal Charts
2 years ago by hypersphere
Charting extension for SQLSeal Obsidian Plugin. Visualise your data!
Stille
5 years ago by Michael Lee
🌗 Stille — An Obsidian plugin that helps you focus on your writing, a section at a time.
Stopwatch
5 years ago by Tokuhiro Matsuno
Super Simple Time Tracker
4 years ago by Ellpeck
Multi-purpose time trackers for your notes!
Tag Timer
8 months ago by quantavil
The Tag Timer is a versatile plugin for Obsidian that allows you to seamlessly track the time you spend on specific tasks or sections within your notes.
TaskChute Plus
17 days ago by hiroyaiizuka
Execute Taskchute for Obsidian
TaskNotes
2 months ago by callumalpass
Task and time-tracking management with calendar integration for Obsidian
Text Focus
2 years ago by usysrc
Focus the text area when opening a new note.
Time Things
20 days ago by plasmabit
Know when your note was was last updated. Track how much time you spent writing. Keep an eye on the clock.
Timekeep
2 years ago by Jacobtread
Obsidian task time tracking
Timelog
8 months ago by Eddie Blundell
Time logging plugin for obsidian
TimeStamper
5 years ago by Martin Eder
A plugin for Obsidian to quickly insert customized date- and time-stamps to the currently active note
Toggl Track
5 years ago by Maxime Cannoodt
A Toggl integration plugin for the popular knowledge base application Obsidian.
View Count
2 years ago by Trey Wallis
Add view count tracking to your Obsidian vault
WakaTime
4 years ago by WakaTime
Obsidian.md plugin for automatic time tracking and metrics generated from your Obsidian usage activity.
White Noise
a year ago by Zhou Hua
WorkLife Calendar
6 days ago by RavenLife
All-in-one: a smart calendar, task and habit tracker, time tracker, and financial planner, all connected into a single ecosystem within Obsidian.
Zen
3 years ago by Maxymillion
A focus mode Obsidian plugin. Inspired by "iA Writer".