It's a gig economy. Mobility is one of the features. You can spend your life proving your "worthiness" at one company when other will see it right away.
Even if you do this you may find that they still just prefer promote someone on site. It happened to me after 2 years with a small startup. It wasn't personal; they just preferred someone who could be there for social outings, in-person standups with other managers, and other obligations at the office. You have to be ready for that outcome and plan your career accordingly.
I have the feeling most of business stuff is gut feeling and story telling.
People aren't interested in what you can do for them, but in what they think you can do for them.
The will gladly promote someone over you just because they sit in the same office or at the same floor as them. Often it's enough that they both believe in the next hype or both play tennis.
What I have learned in the last years, is, you need to create visibility. Put yourself out there. Create articles, podcasts, videos, whatever. The more people get a feeling for "you" in it, the better.
When I didn't write articles, people would simply ignore me, mostly because they didn't know I existed.
When I started blogging, people one day contacted me for collaboration, but only like 5 or so.
When I did a podcast, people suddendly took me as a human being they could potentially like. I didn't tell them new stuff, I wrote about it for years, so I don't think they considered my skills. A voice simply made me more approachable. Suddenly more important people wanted to contact me.
What I want to say is, put yourself out there, try to make youself seen as someone skillful others can relate to. It certainly helped me.
I believe that it is first depends on the company and leadership culture.
If they look at you as an "outside" help, they will less trust you with important roles and responsibilities.
I have two suggestions:
1. From my experience even a week on site can make a huge difference. Is it a possibility for you to reach to the office?
2. Try to understand more about the bigger picture /context and do the extra step of bringing areas you feel strong vs other team members. It will show the leadership that you are able to lead.
If you don’t get assigned to an area where you can do this, look around and spot the subject you are going to master and the team you are going to build and petition a manager to get you to solve that new problem for the company.
(15 years in the last 20 remote)
Hard work and exceptional availability and communication skills. I was the guy who would work weekends, be the first the show up online etc. Never procrastinate. Keep track of other people's work and make your efforts in moving things forward crystal clear to your boss. Deliver.
People are not going to bet on a remote worker for displaying exceptional commitment or leadership skills. You have to actively display them yourself, but not in a pushy manner. Just be the absolute most useful and reliable person you can be. Soon enough you'll have enough responsibilities and involvement in projects that a leadership role will emerge naturally.
I'm in the same boat sort my game plan is:
1. Schedule bots to post on reddit in all the forhire subreddits w/ alternating message templates. This gets me new leads and sometimes people find me from stuff I posted a few months ago.
2. Write 2-3 blog posts per week on medium, w/ a blurb about who I am and how to hire me. These should be VERY technical and thorough. Some of these posts have made me a could hundred $$ just from media partner program so it's definitely not wasted time.
3. Write a book. This is something I'm wanting to do when I get the time, haven't yet. Something targeting your target market (for me that's just SaaS entrepreneurs, so I might do a book on building and scaling a SaaS business eventually.)
4. Keep your resume and public github active and maintained. The better your online presence the more likely you are to get hired.
5. Eventually word of mouth should be your #1 source of new gigs if freelancing, so build the warm market as you can.
I also feel stuck quite often, and I don't always meet my goals for self-marketing. But I have seen things grow a bit, and am hoping it continues. I think the key is just consistency.
Some other things be sure to post to all the HN who's hiring/looking-for-work/freelancer-seeking-freelancer.
If you want a remote gig there are plenty out there, and if you can land one with a big company like gitlab then name recognition could lift you up.
Also places like toptal can get you decent pay but I'm reluctant to go through their lengthy on-boarding so haven't tested them myself.