Role Switch

by Zafrem
5
4
3
2
1
Score: 36/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

stars
565
downloads
0
forks
73
days
NaN
days
NaN
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

Invalid date

Changelog

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.
TimeStamper
4 years ago by Martin Eder
A plugin for Obsidian to quickly insert customized date- and time-stamps to the currently active 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.
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.
Super Simple Time Tracker
4 years ago by Ellpeck
Multi-purpose time trackers for your notes!
ProZen
3 years ago by Moskvitin
Obsidian plugin for going FULL screen
WakaTime
3 years ago by WakaTime
Obsidian.md plugin for automatic time tracking and metrics generated from your Obsidian usage activity.
Obsidian-compatible Watcher for ActivityWatch
3 years ago by Grimmauld
Obsidian plugin to track user activity with ActivityWatch
Perilous Writing
3 years ago by Sameer Ismail
An Obsidian plugin which demands writing output, at the threat of bludgeoning your in-progress work.
Zen
3 years ago by Maxymillion
A focus mode Obsidian plugin. Inspired by "iA Writer".
Focus Active Sentence
3 years ago by artisticat
Highlight the active sentence in Obsidian.md
Auto Hide Cursor
3 years ago by Mo Ismat
A simple plugin for https://obsidian.md
digital paper
3 years ago by Daniel Fernandes
turn off backspace and undo, like writing with a pen on real paper.
RescueTime
3 years ago by Tatsuya Hayashi
A RescueTime integration plugin to view your activity logs in Obsidian.
Time Things
2 years ago by Nick Winters
Show clock, track time spent editing a note, and track the last time a note has been edited.
ManicTime
2 years ago by Finkit d.o.o.
Full Screen Toggle
2 years ago by Donkey Pacific
Fullscreen toggle plugin across all platforms for Obsidian.
Fastimer
2 years ago by vkostyanetsky
Intermittent fasting tracker plugin for Obsidian
Days Since
2 years ago by gndclouds
A plugin to show the number of days since a given date.
Text Focus
2 years ago by usysrc
Focus the text area when opening a new note.
View Count
2 years ago by Trey Wallis
Add view count tracking to your Obsidian vault
Progress Clocks
2 years ago by Nathan Clark
Progress clocks and other useful widgets for https://obsidian.md/.
Timekeep
2 years ago by Jacobtread
Obsidian task time tracking
Checkbox Time Tracker
2 years ago by UD
Checkbox Time Tracker for Obsidian
Relative Timestamps
2 years ago by Charles Young
Dialogue Mode
2 years ago by Patrick Chiang
Fullscreen Focus Mode
5 years ago by Razum
Focus Mode
5 years ago by ryanpcmcquen
Add focus mode to Obsidian.
Stopwatch
5 years ago by Tokuhiro Matsuno
Grandfather
5 years ago by Danny Hernandez
A simple Obsidian plugin to display the time and date on the status bar
Toggl Track
5 years ago by Maxime Cannoodt
A Toggl integration plugin for the popular knowledge base application Obsidian.
Ghost Fade Focus
5 years ago by Sami Korpela
Ghost Fade Focus plugin for Obsidian
Stille
5 years ago by Michael Lee
🌗 Stille — An Obsidian plugin that helps you focus on your writing, a section at a time.
Flexible Pomodoro
4 years ago by grassbl8d
Crackboard
2 years ago by Franklin
Obsidian plugin for crackboard.dev
Simple Focus
a year ago by Lin Qing
Allows you to focus on a specific file or folder. 让你可以专注于一个文件或文件夹
Blur Mode
a year ago by dangehub
Blur Mode - Blur elements on the obsidian interface for presentations or screenshots|模糊模式 - 对obsidian界面上的元素进行模糊处理以便演示或截图
Fetch Prayer Times
a year ago by Ecys
Fetches times from Aladhan API and inserts into a table.
Focus Time
a year ago by AstraDev
Focus Time is a plugin that helps you track how much time you spend on each note.
SQLSeal Charts
a year ago by hypersphere
Charting extension for SQLSeal Obsidian Plugin. Visualise your data!
Chronotyper
a year ago by BambusControl
Obsidian plugin for tracking note edit time
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
White Noise
a year ago by Zhou Hua
Wakatime / Wakapi
a year ago by Kevin Woblick
Connect your Obsidian to Wakatime or Wakapi to track the time spent while browsing or writing notes.
SolidTime Integration
a year ago by proniclabs
Obsidian SolidTime Integration Plugin
Countdown To
a year ago by Gui Cattani
A countdown/progress Obsidian widget using progressbar.js
TaskNotes
10 months ago by Callum Alpass
Task and time-tracking management with calendar integration for Obsidian
My Typewriter Line
6 months ago by dmo-code
Lark Style CountDown Timer
5 months ago by Zhaoyang Yu
Dangerous Mode
5 months ago by Vansh Kumar
most dangerous writing app in obsidian
Tag Timer
4 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.
Timelog
4 months ago by Eddie Blundell
Time logging plugin for obsidian
Minidoro
4 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.
Disable Tabs
4 months ago by David V. Kimball
Disables having more than one tab open at a time Obsidian.