Skip to content

Feature Request: Dynamic Google Drive context XML generator with ID caching to eliminate repetitive folder/file searches #35

@MariusWilsch

Description

@MariusWilsch

Business need: Currently have to search for the same Google Drive folder and file IDs repeatedly throughout Claude chat conversations, which is annoying and inefficient when working on projects where relevant documents are clearly defined

Current workaround: Manually searching for folder and file IDs multiple times during conversations and recreating XML context structures each time

Success criteria:

  • Tool dynamically creates XML context structures like the provided example
  • IDs are cached/stored via proxy system to avoid repeated searches
  • Generates properly formatted XML with folder hierarchy and file references

Priority: Medium - improves workflow efficiency for recurring document access patterns

Estimated impact: Unknown - requires technical assessment for implementation approach

Example:

<google_drive_context>
  <folder_structure name="Finale Vorlagen Rohdex" id="1mXAWRNx9_T1-iSCNr35RWPX7J-2w84Ib">
    <client name="Hop Lion TW" id="1KbDwc1lMErRQGrPkMQeOzwf2GVWvOPkP">
      <order name="2510096" id="1Zrg1pYk3SrjSg5kWdLL2bCElOU0CLVkV">
        <folder name="Dokumente zum Vergleich der Richtigkeit" id="1b0pf0V86CXiBV4jvfGkLI7wW68wCIu8y"/>
        <folder name="Mail an KI" id="1rhKmP3c4GxJzKI3m5_FQSIiu7u1JE2p7"/>
      </order>
      <order name="2510094" id="12y2sfy8RkfqeacYefleEYm3AceysgoG3">
        <folder name="Dokumente zum Vergleich der Richtigkeit" id="1jQnRBntJ3aH30KIv9KdBmTSKCy5Ta_CN"/>
        <folder name="Mail an KI" id="1v-0izGZzTfAyCgg7w2nIFa7UNT3JndMC"/>
      </order>
    </client>
    <client name="KwongLung" id="1S6z-yDP9Lj6UFVNjMHxRH5osN4Syc4ry">
      <order name="2410395" id="17tLfTU0EJk1X3GURXfakEGfn5U7RfbQr">
        <folder name="Mail an KI" id="1bO-3Ax6x15tDesJHA7FBloHr8AfDCdI7"/>
        <folder name="Dokumente zum Vergleich der Richtigkeit" id="1GgbAZUN03jCJkwG9nFJxGD3VHxL4UiJr"/>
      </order>
      <order name="2410396" id="1LwHaJS_yUNue-jKLQaEJl-iCA_WLaghr">
        <folder name="Mail an KI" id="1EBlT6dBilE7cVE7_7E8jmhwqziOel-A0"/>
        <folder name="Dokumente zum Vergleich der Richtigkeit" id="1QEdUu9BYQQB2QLiji-1gmvpKNIkO9vNi"/>
      </order>
    </client>
    <client name="Featherland" id="1IhMNSbnT2BxHNCoBcbPoHi9Kl8pyN6Jo">
      <order name="2410393" id="1FRDTyXJMtA1xPwmEOgknr4eCaMYeZCpT">
        <folder name="Mail an KI" id="1QAsLcH7xD9Plh0nZ4bjM6XPSKKah-7gp"/>
        <folder name="Dokumente zum Vergleich der Richtigkeit" id="1AXpo7uKDBugZ3Df4vjlMMkApbz6PJrzs"/>
      </order>
    </client>
    <client name="Kunde1" id="1Lp1z63G68PSAhZ5DH9GLxK82NMTnN8uB">
      <order name="Vorgang 1" id="1uT-1c2gVPM7w79aO0ClChEx9IzwMuvHJ">
        <folder name="Dokumente zum Vergleich der Richtigkeit" id="1WUl3MEWSOYdpamVV81LiB3R8BiNz4tZ3"/>
        <folder name="Mail an KI" id="1wsdaIDBHmOUEaD43L_gsFcbNCdnnH2Da"/>
      </order>
    </client>
    <file name="Abfolge des Bearbeitungsprozesses beim Export.docx" id="1rQLF19eXKMtYPkULb1b-BPPhdtndjbQz"/>
  </folder_structure>
  
  <templates name="Templates" id="1ep5y1T6Fs66uJ-6R4mKH_tPP35I6dT1a">
    <template name="Invoice Busan.docx" id="1ll5ovEOQXbet8tM7jOQxWTGZKjyt9LzE"/>
    <template name="Vet Template.docx" id="1rHNaLO2E77cqpgDmSz3RmT-xPZb4Zccn"/>
    <template name="DISPO_DSV_TEMPLATE.docx" id="1AMJjgndPCKyqMYXwXGzNdWxN9ZdardeV"/>
    <template name="Non-Wood Decl Busan.docx" id="1mvtngWjvm2AbnU8fbpFB0ncpGOGw1Puu"/>
    <template name="MailAvisBusan.docx" id="1dj8v8VlfSOVWFlPGDQnfVF5d2kVFg9xu"/>
  </templates>
</google_drive_context>

Basically the high level idea here is instead of having to search those IDs over and over again throughout the chat either we need to have some sort of proxy where these IDs are stored and then maybe cached or something else because it's pretty annoying if you still have to look for the stuff over and over again and when you work with claw projects I think it's pretty clear which documents are relevant. What do you think? @taylorwilsdon

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions