dsh-element-context: Selecting UI elements in a conversation and injecting them into the model context

The DeepSeek Harness plugin `dsh-element-context` addresses the challenge of models understanding the location and styling of page controls. By selecting elements with the mouse or manually entering CSS selectors, the plugin injects structured information about the target element—such as its selector, box model, and computed styles—into the model context, eliminating the need for screenshots or verbal descriptions. It supports continuous selection, chip management, and sandbox-friendly operations, making it suitable for web automation and debugging scenarios. Installation is straightforward and it does not depend on additional services, but users should be mindful of token consumption per conversation turn and the 32-element limit.

Read More